{"_id":"@alabebop/how-to-npm","_rev":"12-fbeabe297dddb1d2a4e3d3e3537cff74","name":"@alabebop/how-to-npm","description":"Test npm project","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@alabebop/how-to-npm","version":"1.0.0","description":"Test npm project","main":"index.js","scripts":{"test":"node test.js"},"repository":{"type":"git","url":"git+https://github.com/alabebop/nodeschool_how-to-npm.git"},"keywords":["npm"],"author":{"name":"Xiaoli Shen"},"license":"ISC","bugs":{"url":"https://github.com/alabebop/nodeschool_how-to-npm/issues"},"homepage":"https://github.com/alabebop/nodeschool_how-to-npm#readme","dependencies":{"@linclark/pkg":"^1.0.2"},"gitHead":"0fa74ad6e92729bc0a70b984201ca43d3025decb","_id":"@alabebop/how-to-npm@1.0.0","_shasum":"7975e74fff389d8e26bd28debe7c54ce47fa133b","_from":".","_npmVersion":"2.11.1","_nodeVersion":"0.12.4","_npmUser":{"name":"alabebop","email":"alabebop@gmail.com"},"dist":{"shasum":"7975e74fff389d8e26bd28debe7c54ce47fa133b","tarball":"https://registry.npmjs.org/@alabebop/how-to-npm/-/how-to-npm-1.0.0.tgz","integrity":"sha512-eRdpjd4LQZR6ReUxUudFpNrWttCq7Oy1ZEFvb9QvJGF/U+i8w985iUiIicsPS+cc3fgaELerMgYmz4kmY/2Z7A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDOA9/JNoOyIfXEjRwx8a1r5XdorEx+YtejF1IKajmWqAiEAydUxcAyFW0BKFkVFG7m+6xZdXUGcQ4D+vKBp6KK2Z38="}]},"maintainers":[{"name":"alabebop","email":"alabebop@gmail.com"}]},"1.0.1":{"name":"@alabebop/how-to-npm","version":"1.0.1","description":"Test npm project","main":"index.js","scripts":{"test":"node test.js"},"repository":{"type":"git","url":"git+https://github.com/alabebop/nodeschool_how-to-npm.git"},"keywords":["npm"],"author":{"name":"Xiaoli Shen"},"license":"ISC","bugs":{"url":"https://github.com/alabebop/nodeschool_how-to-npm/issues"},"homepage":"https://github.com/alabebop/nodeschool_how-to-npm#readme","dependencies":{"@linclark/pkg":"^1.0.2"},"gitHead":"34eee99082b575e990aa1a85595851b73b01e7ae","_id":"@alabebop/how-to-npm@1.0.1","_shasum":"ee89ce318b7c521f8afbb03102c9c17c5fc9d332","_from":".","_npmVersion":"2.11.1","_nodeVersion":"0.12.4","_npmUser":{"name":"alabebop","email":"alabebop@gmail.com"},"dist":{"shasum":"ee89ce318b7c521f8afbb03102c9c17c5fc9d332","tarball":"https://registry.npmjs.org/@alabebop/how-to-npm/-/how-to-npm-1.0.1.tgz","integrity":"sha512-U8ByKoUTH4ht5hS4yYEPwomEaUr1QR+AWLRGPRuLWF0t3pHzNQtnizcxaeCTKOMgoPP+ca9GtEhZaWJHL6K/CA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEaQXdxiDcgDl9fHupBV5YveqfT30s2XSh7fbsfJJSqPAiEAqPypwqsQox8NLh5h85Oood3de8/mzMxagiEtrtjLLEY="}]},"maintainers":[{"name":"alabebop","email":"alabebop@gmail.com"}]},"1.0.2":{"name":"@alabebop/how-to-npm","version":"1.0.2","description":"Test npm project","main":"index.js","scripts":{"test":"node test.js"},"repository":{"type":"git","url":"git+https://github.com/alabebop/nodeschool_how-to-npm.git"},"keywords":["npm"],"author":{"name":"Xiaoli Shen"},"license":"ISC","bugs":{"url":"https://github.com/alabebop/nodeschool_how-to-npm/issues"},"homepage":"https://github.com/alabebop/nodeschool_how-to-npm#readme","dependencies":{"@linclark/pkg":"^1.0.2"},"gitHead":"19bd346eab4f5037ac0d02da5a7f99faaf5d1a02","_id":"@alabebop/how-to-npm@1.0.2","_shasum":"6dfd1236903fe072ee7ff3bcb56f21ee14736795","_from":".","_npmVersion":"2.11.1","_nodeVersion":"0.12.4","_npmUser":{"name":"alabebop","email":"alabebop@gmail.com"},"dist":{"shasum":"6dfd1236903fe072ee7ff3bcb56f21ee14736795","tarball":"https://registry.npmjs.org/@alabebop/how-to-npm/-/how-to-npm-1.0.2.tgz","integrity":"sha512-4y3Hf2ssCXSc9uhspqY6B9iyEWupb13nxvxcq2y2T9cb8apo6ynjXQHokJSYiGf4Q+utM2ypn/y016fv1OIfmg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCozNVJu+Fd1iqyTBUotBf6Zt74VmZIuXfARTIhi0bJYQIgCotISYxGmgfMnx5o3RnSZ5Q40JZvr7BlEcDgi7G7J2w="}]},"maintainers":[{"name":"alabebop","email":"alabebop@gmail.com"}]}},"readme":"# Learn to npm!\n\nThis repository contains my learning notes of the [NodeSchool workshop \"How to npm\"](http://nodeschool.io/#workshoppers)\n\n\n* If you get a .lock error trying to install a package, it may be caused by your previous installing packages in your home folder with `sudo`, i.e. as `root`. The fix is to change the owner of the `.npm` folder back to yourself instead of `root` with command `chown`\n\n\t```\n\t$ sudo chown -R my.user ~/.npm\n\t```\n\n* If you install packages locally without first having them declared as dependencies in the `package.json` file, you are able to install them but will get an `extraneous` error, which indicates that the package is extraneous to the project. \n\n\t* To remove an extraneous package, use the npm command `prune`\n\n\t\t```\n\t\t$ npm prune <name>\n\t\t```\n\n\t* To install a package as well as having it declared as a dependency in your `package.json` file at the same time, use the `--save` parameter when installing, or the `--save-dev` parameter to have it declared as a devDependency\n\n\t\t```\n\t\t$ npm install <package> --save\n\t\t```\n\n\t\t```\n\t\t$ npm install <package> --save-dev\n\t\t```","maintainers":[{"name":"alabebop","email":"alabebop@gmail.com"}],"time":{"modified":"2022-06-12T14:27:20.731Z","created":"2015-06-09T20:40:42.641Z","1.0.0":"2015-06-09T20:40:42.641Z","1.0.1":"2015-06-09T21:14:12.247Z","1.0.2":"2015-06-10T09:59:28.899Z"},"homepage":"https://github.com/alabebop/nodeschool_how-to-npm#readme","keywords":["npm"],"repository":{"type":"git","url":"git+https://github.com/alabebop/nodeschool_how-to-npm.git"},"author":{"name":"Xiaoli Shen"},"bugs":{"url":"https://github.com/alabebop/nodeschool_how-to-npm/issues"},"license":"ISC","readmeFilename":"README.md"}