Open an NPM Package's Home Page from the Command Line
March 19, 2020
Open Package Home Page
To open an NPM package's website home page use the home command and hen the packge name:
1.npm home <package>
Example
1.npm home material-bread
Although intended for the package homepage, this command will open whatever the package owner's set the homepage property to in their package.json
1."homepage": "http://material-bread.org",
Open Package Repo
To open an NPM package's repository from the command line type npm repo and then the package name:
1.npm repo <package>
Example
1.npm home material-bread
More NPM Snippets
Popular Articles
I Can't Believe It's Not CSS: Styling Websites with SQL
Style websites using SQL instead of CSS. Database migrations for your styles. Because CSS is the wrong kind of declarative.

How I Built an Oreo Generator with 1.1 Sextillion Combinations
Building a web app that generates 1,140,145,285,551,550,231,122 possible Oreo flavor combinations using NestJS and TypeScript.

AI Model Names Are The Worst (tier list)
A comprehensive ranking of every major AI model name, from the elegant to the unhinged. Because apparently naming things is the hardest problem in AI.