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

synqauth

v0.3.0

Published

Synq's command line: npx synqauth init gives your Next.js app a working sign-in, with no account until you claim it.

Readme

synqauth

Synq's command line. npx synqauth init gives your Next.js app a working sign-in, with no account: try Synq on your laptop first, and claim it when you sign up.

Synq is customer identity for businesses: an OpenID Connect issuer for each of your brands, with social, email, passkey and Solana wallet sign-in. The documentation is at docs.synq.build.

This package is at 0.x: its commands can change in any release until Synq's first customer depends on it.

npx synqauth init

Run it in a Next.js App Router project (an app/ or src/app/ folder):

npx synqauth init

It asks Synq for a development sign-in: an org of your own with one app, on https://localhost:<your dev port> only, named after your package (@acme/web is acme-web). Then it:

  • writes the app's keys to .env.local (SYNQ_ISSUER, SYNQ_CLIENT_ID, SYNQ_CLIENT_SECRET, SYNQ_APP_URL, SYNQ_SESSION_SECRET and SYNQ_CLAIM_TOKEN), and makes sure git ignores it: it adds .env*.local to your app's .gitignore only where git doesn't ignore the file already (outside a git repo, where .gitignore doesn't say so)
  • adds @synqauth/nextjs with your package manager
  • adds synq.config.ts, lib/synq.ts, the route mount at app/api/auth/[...synq]/route.ts, and a page at /synq that signs you in and shows who
  • makes your dev script serve https (next dev --experimental-https), which Synq's development redirect URIs need

It never overwrites a file you have, and stops before making anything when .env.local already has Synq's values (--force makes another).

Start your app and open https://localhost:3000/synq to sign in. Its first start may ask for your computer's password, once, to trust a local certificate: Next.js makes its https certificate with mkcert. Accept it, since sign-in needs the https address. Where the prompt can't be answered (a shell with no terminal, an agent, CI), Next.js serves http://localhost:3000 instead, and the /synq page says to restart dev in a terminal and accept the prompt. To keep the sign-in, open the claim link it prints (it's also in .env.local) within 7 days and sign up: the org is yours, with no limits but your plan's. Until then it signs in up to 25 people, on localhost only, and Synq deletes it if nobody claims it.

npm create synq does the same.

Options:

  • --force: make another development sign-in, even where .env.local has Synq's values
  • --no-install: don't add @synqauth/nextjs
  • --stage preview|local: for working on Synq itself; local reads SYNQ_API_URL and SYNQ_WEBSITE_URL

License

MIT