Shortcut for installing github repos in npm
Want to install a package from github with npm?
You can use the shortcut
npm install <user>/<repo>
instead of
npm install https://github.com/<user>/<repo>/
Thanks to @brianlovesdata for pointing that out on twitter.
Written by Finn Pauls
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Npm
Authors
Did you know?
JavaScript on a page runs with the privileges of that origin. One altered library, tag manager, or snippet can read inputs, change what people see, and call your APIs as the user.
Security insights from Cside
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#