https://github.com/blakek/cannot-even
A module that refuses to even
https://github.com/blakek/cannot-even
fun javascript useless
Last synced: 5 months ago
JSON representation
A module that refuses to even
- Host: GitHub
- URL: https://github.com/blakek/cannot-even
- Owner: blakek
- License: mit
- Created: 2016-11-22T15:44:25.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2020-01-10T17:57:53.000Z (about 6 years ago)
- Last Synced: 2025-10-11T06:29:02.896Z (5 months ago)
- Topics: fun, javascript, useless
- Language: JavaScript
- Size: 39.1 KB
- Stars: 12
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-dev-fun - cannot-even - A module that refuses to even. (JavaScript)
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