TIL means Today I learned
Today I learned about two npm commands that I had no idea about
-
npm repo <package_name>
This would find and open the github repo of any package you give it. As long as that package is on npm, be guaranteed that it'll find it for you. This is really useful. No more mindless googling looking for a package's github repo -
npm docs <package_name>
This is similar to 1 but this goes directly to the docs section of the repo on github. Pretty neat right??That's a wrap ✌🏽
Other Posts
Powered By Swish