pkgsource
v1.13.2
Published
Find the source of an npm package in an instant.
Downloads
694
Readme
pkgsource 
Find (almost) every npm package's repository in an instant.
Usage
Visit pkgsource.ffflorian.dev/{packageName} in your web browser, e.g. pkgsource.ffflorian.dev/nock.
Get the repository for a specific version
Visit pkgsource.ffflorian.dev/{packageName}@{version} in your web browser, e.g. pkgsource.ffflorian.dev/[email protected]. This also works with npm tags, e.g. pkgsource.ffflorian.dev/typescript@beta
If no version is specified, the latest version is assumed.
Get the raw data
Visit pkgsource.ffflorian.dev/{packageName}?raw in your web browser, e.g. pkgsource.ffflorian.dev/commander?raw.
Get source code for a specific version
Visit pkgsource.ffflorian.dev/{packageName}?unpkg in your web browser, e.g. pkgsource.ffflorian.dev/[email protected]?unpkg. You can use the same features (raw, version, tags) as mentioned above.
Server usage
Prerequisites:
Start the server in development mode
yarn
yarn start:devStart the server in production mode
yarn
yarn dist
yarn startSwagger UI
Open /_swagger-ui in the browser to try it out.
