@liteobject/my-demo-npm
v1.0.1
Published
My demo npm package
Downloads
7
Readme
demo-npm-pkg
Initialize the project
npm init -y
Log into NPM registry
npm login
Check login
npm whoami
To publish the package
npm publish --access=public
To install this package from npm
Run
npm -i my-demo-npm
Use:
import rng from 'my-demo-npm' let ran = rng(1, 100); console.log(ran)