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-init

v0.7.0

Published

A simple boilerplate generator for TypeScript projects that helps you save time on configuration.

Readme

create-ts-init

npm version NPM npm

create-ts-init is a simple and opinionated boilerplate generator for Node.js-based ESM TypeScript projects. Spend less time configuring new projects with this CLI tool.

Installation / Usage

You can use your favorite package manager to download and run the generator, and your choice will also be respected when the CLI installs dependencies.

npm

npx create-ts-init@latest

pnpm

pnpx create-ts-init@latest

yarn

yarn create ts-init

Arguments

You can supply a project name as a command argument and any additional flags to customize the tool's behavior.

create-ts-init [options] [project-name]

| Argument | Description | | -------------- | ---------------------------- | | project-name | Name of the new project |


| Option | Description | | ------------------- | --------------------------------------------- | | -e, --extras | Use default extras | | --no-extras | Do not use extras | | -u, --update | Check for and apply dependency updates | | --no-update | Do not check for dependency updates | | -i, --install | Install dependencies | | --no-install | Do not install dependencies | | -g, --git | Initialize a Git repository | | --no-git | Do not initialize a Git repository | | -h, --help | Display help for the command |

Global Install

You can also use any of these to install create-ts-init globally. This links a binary that can be used without redownloading.

You will still be notified of new versions, but you will have to update manually to get the latest features.

Example:

npm install -g create-ts-init

create-ts-init

Sample Output

Example of a new project generated using both eslint-prettier and jest extras:

my-ts-app/
├── src/
│   └── index.ts
├── tests/
│   └── index.test.ts
├── .eslintrc.json
├── .gitignore
├── .prettierignore
├── .prettierrc.json
├── jest.config.js
├── package.json
├── tsconfig.build.json
└── tsconfig.json

Features

Minimal base

create-ts-init is designed to be fully modular. The base template is minimal and contains only what is necessary to compile and run TypeScript code. Additional functionality must be enabled through the prompts, including code style enforcement using ESLint and Prettier.

Additional features can be scaffolded to a new application through use of modules (or extras).

Update checking

When creating a new application, you will be asked if you want to automatically check for package updates. The CLI will then use the npm-check-updates tool to apply the latest versions directly to your new package.json while respecting their original semver rules.

Extra Modules

When generating your application, you will be able to select any of the following extras:

eslint-prettier

Adds configuration for your project to use ESlint and Prettier alongside each other. Scripts are added to package.json to manually check and enforce code style, especially if you don't have the related editor extensions.

ESlint is configured with some sensible defaults including the typescript-eslint parser.

jest

Adds Jest to your project configured with the ts-jest transformer to directly run .ts tests without needing to include them in your builds. Scripts are added to package.json, but it will also work out of the box with npx jest.

By default, tests are configured to run in ./tests/.

Planned features

  • [x] ~~Command arguments/flags~~
  • [ ] Support for more modules

Contributing

Contributions are welcome! If you find a bug or have an idea for a new feature, feel free to open an issue or submit a pull request.

To get started, clone this repository and install dependencies using npm:

git clone https://github.com/nomnivore/create-ts-init.git
cd create-ts-init
npm install

Compile the application into ./dist:

npm run build

You can then run the tool locally using:

npm start

Or install it globally (to use in other directories):

npm install -g .

create-ts-init

License

create-ts-init is licensed under the MIT License.