Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/blakek/cannot-even

A module that refuses to even
https://github.com/blakek/cannot-even

fun javascript useless

Last synced: about 2 months ago
JSON representation

A module that refuses to even

Lists

README

        

# cannot-even

> A module that refuses to even

Throws an error if given an even number

## Usage

Check for evens

```js
const cannotEven = require('cannot-even')

cannotEven(23) // returns true
cannotEven(24) // Error: Cannot even
```

## Install

With [npm](https://npmjs.org/) installed, run

```
$ npm install --save cannot-even
```

## License

MIT