Tag Archives: npm

Nodejs tips: npm Installing a specific version of a package, NPM安装特定版本包

First, find the version of the package(handlebars etc.) 首先, 先看看这个包有哪些发布版本(这里以handlebars为例) $ npm view handlebars versions OUTPUT: npm http GET https://registry.npmjs.org/handlebars npm http 304 https://registry.npmjs.org/handlebars [ ‘1.0.2-beta’, ‘1.0.4-beta’, ‘1.0.5-beta’, ‘1.0.6-2’, ‘1.0.6’, ‘1.0.7’, ‘1.0.8’, ‘1.0.9’, ‘1.0.10’, ‘1.0.11’, ‘1.0.12’, ‘1.1.0’, ‘1.1.1’, ‘1.1.2’, ‘1.2.0’, … Continue reading

Posted in Useful Tips | Tagged , | Leave a comment