npmsource 
Find (almost) every npm package's repository in an instant.
Usage
Visit npmsource.com/{packageName}
in your web browser, e.g. npmsource.com/nock
.
Get the repository for a specific version
Visit npmsource.com/{packageName}@{version}
in your web browser, e.g. npmsource.com/lodash@4.17.15
. This also works with npm tags, e.g. npmsource.com/typescript@beta
If no version is specified, the latest version is assumed.
Get the raw data
Visit npmsource.com/{packageName}?raw
in your web browser, e.g. npmsource.com/commander?raw
.
Get source code for a specific version
Visit npmsource.com/{packageName}?unpkg
in your web browser, e.g. npmsource.com/express@4.17.1?unpkg
. You can use the same features (raw
, version, tags) as mentioned above.
Server usage
Local
Prerequisites:
Start the server
go run .