lock global npm packages

node.js

Solution

The answer appears to be no. I opened this issue but it got closed. It's hard to imagine that I'm the only person with this use case though.

Problem

Is it possible to lock global packages to a specific version? For example if I do: ``` $ npm install -g some-awesome-package@1.7.0 ``` if some-awesome-package@1.7.1 exists, can I prevent npm from ever updating this specific package?

Original source