HTTP is a stateless protocol and webserver dont know , request comes from which server. So cookies will store the some id like transaction id . Then
Wednesday, 27 March 2013
Tuesday, 26 March 2013
Format of NPM Package
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