isbetween5and7
v1.0.3
Published
A simple package to check if a number is between 5 and 7
Downloads
13
Maintainers
Readme
isbetween5and7
A simple package to check if a number is between 5 and 7
Installation
npm install isbetween5and7
Usage
import isbetween5and7 from 'isbetween5and7';
isbetween5and7(6); // true
isbetween5and7(1); // false
API
isbetween5and7(num: number): boolean
Returns true if the input number is between 5 and 7 or false if not
Running Tests
npm test
Building
npm run build
Publishing
Update version in
package.jsonBuild the package:
npm run buildRun tests:
npm testPublish to npm:
npm publish
License
MIT
