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-ts-fast

v0.0.13

Published

Create TypeScript packages really fast

Readme

Create TypeScript Fast

Create React App but for creating TypeScript-based packages to be published to the npm registry.

npm create ts-fast@latest

Currently supported templates:

Features

Contains just enough features to help you author and publish TypeScript-based npm packages in under 15 minutes. Features include:

  • Lean and mean: Zero dependencies, minimal devDependencies
    • TypeScript: Modern, de facto flavor of JavaScript
    • Vitest: Next generation testing framework with out-of-the-box TypeScript support. Easily replace this with Jest should you wish to
    • tsup: Bundles your TypeScript code, powered by esbuild
  • Unopinionated: Includes only the necessary dependencies to get you started
  • Types generation: Type declaration files are automatically generated
  • Continuous integration: Test, typecheck, and build on every commit / pull request. Uses GitHub actions

Where's pnpm, ESLint, Prettier, and <trendy library>?

The project is unopinionated about the following:

  • Alternative package managers, e.g. pnpm, Yarn
  • Linting, e.g. ESLint, Biome, oxlint
  • Formatting, e.g Prettier, Biome
  • Alternative runtimes e.g. Bun, Deno

Why? Because no matter the choice, someone will have a different opinion and want to use something else, so we rather leave it to you. Moreover, these tools can be easily added yourself.

If/when one of them becomes the standard (e.g. TypeScript), we can then include them as a default.

Getting started

Run the scaffolding command, use the scaffolded project as a starting point and customize it to your liking.

Start by running the appropriate command and answering a few questions:

npm

npm create ts-fast@latest

Yarn

yarn create ts-fast

pnpm

pnpm create ts-fast@latest

bun

bun create ts-fast@latest

Scaffolded project structure

Scaffolded projects have these few base files:

├── .github/workflows/ci.yml
├── dist
├── src
│   ├── __tests__
│   └── index.ts
├── package.json
├── README.md
├── tsconfig.json
├── tsup.config.ts
└── vitest.config.ts

Next steps

  1. Implement your library within src. Add tests if you take pride in being a developer
  2. Modify package.json – update name, version, author and any other relevant fields
  3. Update README.md
  4. npm run publish. You will have to login to npm if you aren't already logged in
  5. Profit!

Roadmap

  • [x] Scaffolding command similar to create-vite and create-react-app
  • [x] Multiple output formats (esm, cjs)
  • [ ] Choose between tools (Jest vs Vitest)

Credits and inspiration