hmscripts v1.0.8
Publishing a npm package.
Learn how to create and publish a module to npm. A personal interest I wanted to test. A simple script that loops.
Creating and publishing your first npm package.
Register for a npm account or in the terminal run the command.
npm adduser
After you register and have an account you can simply run the below command.
npm login
Go to the file that you want to publish then run the following command.
npm publish
If you successfully complete the publishing process without any issues like naming conflicts ("packages that have identical names."). Also, if you don't update your versioning of the software after file changes. Ex. 1.0.1 then console errors may occur.
Installation
npm i hmscripts
global install.
npm i hmscripts --save
local dependency install. --save
Require the script and run the program.
const hmscripts = require('hmscripts');
console.log(hmscripts);
development resorces
npm website.
my test module.
version updating your project.
{ HM }