@mia-cx/isprime
TypeScript icon, indicating that this package has built-in type declarations

0.0.7 • Public • Published

@mia-cx/isprime

a fairly performant prime checker by @mia-cx

Installation

Using npm:

npm i @mia-cx/isprime

Using pnpm:

pnpm i @mia-cx/isprime

Usage

commonjs

const isPrime = require('@mia-cx/isprime');

console.log(isPrime(45413)); // returns true

esm

import isPrime from "@mia-cx/isprime";

console.log(isPrime(45413)); // returns true

Package Sidebar

Install

npm i @mia-cx/isprime

Weekly Downloads

2

Version

0.0.7

License

ISC

Unpacked Size

9.18 kB

Total Files

5

Last publish

Collaborators

  • mia-riezebos