# is-composite

> Check if a number is composite

Latest version **1.0.0** (published 2015-07-20) · MIT license · 0 weekly downloads

## Install

```sh
npm install is-composite
pnpm add is-composite
yarn add is-composite
bun add is-composite
```

## 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.0 |
| Published | 2015-07-20 |
| First published | 2015-07-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.10.0 |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Arthur Verschaeve |
| Maintainers | arthurvr |
| Keywords | composite, prime, math, number, mathematics, integer, check, detect, is, positive, devisor, factor |

## Links

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

## Dependencies (2)

- [is-prime](https://npm.io/package/is-prime.md) ^1.0.1
- [number-is-integer](https://npm.io/package/number-is-integer.md) ^1.0.0

## Alternatives

- [memory-cache](https://npm.io/package/memory-cache.md) — 795.0K weekly downloads
- [@httptoolkit/proxy-agent](https://npm.io/package/@httptoolkit/proxy-agent.md) — 11.2K weekly downloads
- [express-cache-controller](https://npm.io/package/express-cache-controller.md) — 5.3K weekly downloads
- [http-cache-middleware](https://npm.io/package/http-cache-middleware.md) — 4.5K weekly downloads
- [cache2](https://npm.io/package/cache2.md) — 1.5K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2015-07-20

## README

# is-composite [![Build Status](https://travis-ci.org/arthurvr/is-composite.svg?branch=master)](https://travis-ci.org/arthurvr/is-composite)

> Check if a number is [composite](https://en.wikipedia.org/wiki/Composite_number)


## Install

```
$ npm install --save is-composite
```


## Usage

```js
var isComposite = require('is-composite');

isComposite(3);
//=> false

isComposite(4);
//=> true
```


## License

MIT © [Arthur Verschaeve](http://arthurverschaeve.be)

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