npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

drawbridge-api

v1.0.0

Published

## Text Editor ### For Sublime Text, install: https://github.com/sindresorhus/editorconfig-sublime ### For Atom, install: https://github.com/sindresorhus/atom-editorconfig ### For Visual Studio Code, install: https://marketplace.visualstudio.com/items?ite

Readme

Local Development Setup

Text Editor

For Sublime Text, install: https://github.com/sindresorhus/editorconfig-sublime

For Atom, install: https://github.com/sindresorhus/atom-editorconfig

For Visual Studio Code, install: https://marketplace.visualstudio.com/items?itemName=EditorConfig.EditorConfig

Helpful Links

* Mongodb Documentation
	https://www.mongodb.com/docs
* Stripe Documentation
	https://docs.stripe.com
* Sentry Documentation
	https://docs.sentry.io

Environment Variables

Create .env file in root directory with environment variables

* Ensure values are wrapped in '' as special characters do not work
* Exceptions for types to be wrapped in single quotes: boolean, integer

Environment Variables

* API_URI
	string,
	required
* APP_CLIENT_DASHBOARD_URI
	string,
	required
* APP_CLIENT_FORM_URI
	string,
	required
* APP_CLIENT_SUPPORT_URI
	string,
	required
* BEARER_SECRET
	string,
	required
* TERMS_VERSION
	string,
	required
* UPGRADE_VERSION
	string,
	required
* DIGITAL_OCEAN_SPACES_ACCESS_KEY
	string,
	required
* DIGITAL_OCEAN_SPACES_ACCESS_SECRET
	string,
	required
* DIGITAL_OCEAN_SPACES_ORIGIN_ENDPOINT
	string,
	required
* DIGITAL_OCEAN_SPACES_CDN_ENDPOINT
	string,
	optional
* GOOGLE_API_KEY
	string,
	required
* GOOGLE_RECAPTCHA_SECRET
	string,
	required
* GOOGLE_RECAPTCHA_SCORE_MIN
	float,
	optional,
	note: should be a decimal and less than 1 usually
*JWT_SECRET
	string,
	required
* KINDE_DOMAIN
	string,
	required
	note: Kinde domain without https://
* MONGODB_DATABASE_URI
	string,
	required
* STRIPE_API_KEY
	string,
	required
* STRIPE_PRICE_DB00001
	string,
	required
* STRIPE_PRICE_DB00002
	string,
	required
* STRIPE_PRICE_DB00003
	string,
	required
* STRIPE_PRICE_DB00004
	string,
	required
* STRIPE_PRICE_DB00005
	string,
	required
* STRIPE_PRICING_AI_PLAN_ID
	string,
	required
* STRIPE_PRICING_AI_PLAN_VERSION
	string,
	required
* STRIPE_SUBSCRIPTION_CURRENCY
	string,
	required
* STRIPE_SUBSCRIPTION_INTERVAL
	string,
	required
* STRIPE_SUBSCRIPTION_TRIAL
	string or number,
	optional
* STRIPE_WEBHOOK_SECRET
	string,
	required
* SENTRY_DSN
	string,
	required
* SENTRY_ENVIRONMENT
	string,
	required

Run

$ nvm use $ npm install $ npm run dev