npm Community Forum (Archive)

The npm community forum has been discontinued.

To discuss usage of npm, visit the GitHub Support Community.

Scope for non npm registry packages

I use Github as my built package registry. I would like to install all my github packages to a scoped folder. It seems its not possible. Is there an option for installing packages to specific folders, where it reflects also on the package.json file.

E.g. in package.json
"package": "@scope:https://github.com/user/repository"

Help ! Thanks


Just figured out the answer:
The scope is merely an npm thing, where adding a “@scope/name” to any package, will result in installing it in a nested folder.