https://github.com/coderanchel/my-first-npm-package
First npm package
https://github.com/coderanchel/my-first-npm-package
Last synced: over 1 year ago
JSON representation
First npm package
- Host: GitHub
- URL: https://github.com/coderanchel/my-first-npm-package
- Owner: CoderAnchel
- Created: 2022-08-18T15:16:12.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-08-18T15:17:50.000Z (almost 4 years ago)
- Last Synced: 2025-01-22T05:43:34.451Z (over 1 year ago)
- Language: JavaScript
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## What is this?
A random number generator
## https://www.npmjs.com/package/anchelrng
## Instalation
Run `npm i anchelrng`
Use:
````
import rng from 'anchelrng';
randomNumberGenerator(1, 100);
```
## Parameters
The random number generator accepts tow parameters, min and max values.
by defalt are 0, and 100.