Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm root -g and npm bin -g should be sped up #963

Closed
ORESoftware opened this issue Feb 29, 2020 · 0 comments
Closed

npm root -g and npm bin -g should be sped up #963

ORESoftware opened this issue Feb 29, 2020 · 0 comments

Comments

@ORESoftware
Copy link

Even on the latest npm versions, npm root -g and npm bin -g are really slow, surely because they load all sorts of files on program load. I would like to use them as part of shell scripts but they are really slow and expensive commands.

Solution - create an npm entry point that doesn't load everything, and for certain commands don't load all the code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants