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

create-formgong

v0.2.0

Published

Scaffold a contact form that works without a backend: Next.js, Astro, plain HTML or a React component for Lovable, Bolt and v0. Can create the Formgong form for you. Submissions go to email and Telegram.

Downloads

632

Readme

create-formgong

npm CI license

Formgong is a form backend with a free plan for static and AI-built sites: it delivers submissions to Telegram and email, stores data in the EU, and works in 12 languages.

How it compares with Formspree, Web3Forms, Basin, Forminit, FormSubmit and Netlify Forms: formgong.com/en/compare

Scaffolds a contact form that works without a backend. Choose Next.js, Astro, plain HTML, or a single React component for Lovable, Bolt and v0. Each submission goes to Formgong, a hosted form backend that delivers it to your email, Telegram or a webhook. You don't write any server code, set up SMTP or create a database.

npm create formgong@latest

The CLI asks for a folder, a template and (optionally) your access key, then downloads the starter from github.com/formgong.

Without questions

npm create formgong@latest my-site -- --template nextjs --key fk_your_key
npx create-formgong my-site --template astro
pnpm create formgong my-site --template html
yarn create formgong my-site --template react

| --template | What you get | Source | | --- | --- | --- | | nextjs (default) | Next.js App Router page with a client component. No API route or Server Action. | formgong/nextjs-starter | | astro | Static Astro site. The form works without JS and is enhanced with fetch. | formgong/astro-starter | | html | index.html + thanks.html for GitHub Pages, Netlify or any static host. | formgong/html-starter | | react | One ContactForm.tsx (Tailwind) to paste into Lovable, Bolt, v0 or Vite. | formgong/react-contact-form |

Other options:

  • --key fk_… writes your access key into .env.local, .env, index.html or ContactForm.tsx.
  • --create-form creates a new form on your Formgong account and writes its key. It uses the token saved by npx formgong login, or FORMGONG_TOKEN. When a token is found, interactive runs offer this automatically.
  • --yes skips the questions.
  • --help shows all options.

Access key

  1. Sign up at https://formgong.com. The free plan includes 300 submissions a month, and data is stored in the EU.
  2. Create a form and copy its access key (fk_…). It's public by design, so it can live in frontend code.
  3. Pass it with --key or paste it later into the file the CLI points to.

Every starter includes:

  • a botcheck honeypot (spam filtering is always on);
  • _lang, so Formgong's messages match your site's language;
  • optional Cloudflare Turnstile;
  • a success message or redirect.

Existing project?

Use the formgong CLI instead. npx formgong init detects Next.js, React, Vue, Nuxt, Svelte, SvelteKit, Astro or plain HTML, creates the form and writes a contact page that uses the matching @formgong/* component.

Links

Requires Node.js 18.17 or newer. It has no dependencies.

License

MIT © Formgong