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: 3 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 (about 8 years ago)
- Default Branch: master
- Last Pushed: 2020-01-10T17:57:53.000Z (about 5 years ago)
- Last Synced: 2024-10-09T09:52:47.508Z (4 months ago)
- Topics: fun, javascript, useless
- Language: JavaScript
- Size: 39.1 KB
- Stars: 12
- Watchers: 3
- 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