{"library":"miller-rabin","type":"library","category":null,"description":"The `miller-rabin` package provides an implementation of the probabilistic Miller-Rabin primality test algorithm for JavaScript. This algorithm efficiently determines if a given large number is likely prime, although it carries a small, exponentially decreasing chance of falsely identifying a composite number as prime (a 'strong liar'). The current stable version, 4.0.1, was last published 8 years ago, indicating a maintenance-only or abandoned status. It relies on the `bn.js` library for arbitrary-precision integer arithmetic, rather than native JavaScript `BigInt` introduced in later Node.js and browser versions. While functional, developers initiating new projects requiring primality testing might consider more recently updated alternatives that leverage native `BigInt` for potentially better performance and modern API integration. The package's release cadence is effectively non-existent, given its age.","language":"javascript","status":"maintenance","version":"4.0.1","tags":["javascript","prime","miller-rabin","bignumber"],"install":[{"cmd":"npm install miller-rabin","imports":["import millerRabin from 'miller-rabin';","import MillerRabin from 'miller-rabin';","import BN from 'bn.js';"]},{"cmd":"yarn add miller-rabin","imports":[]},{"cmd":"pnpm add miller-rabin","imports":[]}],"homepage":null,"github":"https://github.com/indutny/miller-rabin","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/miller-rabin","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/miller-rabin/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Sat Jul 18","install_tag":null}}