is-number-prime

1.0.1 • Public • Published

is-number-prime

Build Status

Checks if number is prime or not.

Installation

npm install is-number-prime --save

Usage

import isNumberPrime from 'is-number-prime';
isNumberPrime(13); // true
isNumberPrime(10); // false
isNumberPrime(15485863); // true

Tests

npm test

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code.

Release History

  • 1.0.0 Initial release
  • 1.0.1 Faster

Readme

Keywords

none

Package Sidebar

Install

npm i is-number-prime

Weekly Downloads

2

Version

1.0.1

License

ISC

Last publish

Collaborators

  • janjarfalk