ffflorian / npmsource

Find the source of an npm package in an instant πŸš€

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

npmsource Build Status

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:

  • Go >= 1.16

Start the server

go run .

About

Find the source of an npm package in an instant πŸš€


Languages

Language:Go 100.0%