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

option for --save, --save-dev, -g in the title #12

Open
dylang opened this issue Feb 9, 2014 · 1 comment
Open

option for --save, --save-dev, -g in the title #12

dylang opened this issue Feb 9, 2014 · 1 comment

Comments

@dylang
Copy link

dylang commented Feb 9, 2014

The title of the widget says npm install <module name>. It would be nice if there was an install=[save|save-dev|global|none] option that would also include --save, --save-dev, or -g as a little extra pointer.

none would not show the npm install line at all.

@rvagg
Copy link
Owner

rvagg commented Feb 9, 2014

Again, start here, the only problem I foresee here is that it's going to make the text extra-long so you'd need to ensure that the calculations for width work well, test against some packages with very long names.

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

No branches or pull requests

2 participants