Skip to content

ffflorian/pkgsource

Repository files navigation

pkgsource Lint, test, and publish

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/lodash@4.17.15. 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/express@4.17.1?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:dev

Start the server in production mode

yarn
yarn dist
yarn start

Swagger UI

Open /_swagger-ui in the browser to try it out.

About

Find the source of an npm package in an instant.

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Sponsor this project

Packages

 
 
 

Contributors

Generated from ffflorian/ts-boilerplate