1.0.0 • Published 7 years ago
createmoduledemo v1.0.0
how to create module is given below :-
create createmodule.js with logic and exports this logic
create index.js require createmodule and show output then exports this output
npm init for package.json
in package.json we change main option value with index.js
and add a key value (start:node index.js) in script option
1.0.0
7 years ago