1.0.3 • Published 7 months ago

isbetween5and7 v1.0.3

Weekly downloads
-
License
MIT
Repository
-
Last release
7 months ago

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

  1. Update version in package.json

  2. Build the package: npm run build

  3. Run tests: npm test

  4. Publish to npm: npm publish

License

MIT

1.0.3

7 months ago

1.0.2

7 months ago

1.0.1

7 months ago

1.0.0

7 months ago