1.0.8 • Published 4 years ago

hmscripts v1.0.8

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

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 }

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago