# is-number-prime

> Check if number is prime.

Latest version **1.0.1** (published 2015-09-14) · ISC license · 0 weekly downloads

## Install

```sh
npm install is-number-prime
pnpm add is-number-prime
yarn add is-number-prime
bun add is-number-prime
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2015-09-14 |
| First published | 2015-09-13 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Jan Järfalk |
| Maintainers | janjarfalk |

## Links

- npm: https://www.npmjs.com/package/is-number-prime
- Repository: https://github.com/janjarfalk/is-number-prime
- Homepage: https://github.com/janjarfalk/is-number-prime#readme
- Issues: https://github.com/janjarfalk/is-number-prime/issues
- npm.io page: https://npm.io/package/is-number-prime

## Recent versions

- 1.0.1 (latest) — 2015-09-14
- 1.0.0 — 2015-09-13

## README

is-number-prime
===============
[![Build Status](https://travis-ci.org/janjarfalk/is-number-prime.svg?branch=master)](https://travis-ci.org/janjarfalk/is-number-prime)

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

---
_Source: https://npm.io/package/is-number-prime · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
