NPM package is a directory structure with package.json file.
Package.json file basic flow as follows
{ name: "nameOfPackage", version:"1.1", main: :mainModuleName", Node Modules[46] modules: { "mod1" : "lib/mod1", "mod2" : "lib/mod2" }
To search a package, use the following command,
$ npm search nameOfPackage
Help command as follows
$ npm help <command>
Find NPM Package:
$npm install moduleName
Package.json file basic flow as follows
{ name: "nameOfPackage", version:"1.1", main: :mainModuleName", Node Modules[46] modules: { "mod1" : "lib/mod1", "mod2" : "lib/mod2" }
To search a package, use the following command,
$ npm search nameOfPackage
Help command as follows
$ npm help <command>
Find NPM Package:
$npm install moduleName
0 comments:
Post a Comment