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

speedrun-init

v1.0.0

Published

๐Ÿš€ A modern project initializer with TypeScript/JavaScript support, VS Code configuration, and beautiful templates

Downloads

6

Readme

๐Ÿš€ Speedrun Init

A modern, lightning-fast project initializer that creates beautiful JavaScript and TypeScript projects with all the modern tooling you need. Think npm init but supercharged! โšก

โœจ Features

  • ๐ŸŽฏ Multiple Templates: API servers and Hello World starters
  • ๐Ÿ”ง Language Support: Both JavaScript and TypeScript
  • ๐Ÿ“ VS Code Ready: Pre-configured settings and extensions
  • ๐ŸŽจ Code Quality: ESLint and Prettier pre-configured
  • ๐Ÿ“š Documentation: Beautiful README files generated
  • ๐Ÿ›ก๏ธ Error Handling: Robust error handling patterns
  • โšก Fast Setup: Get coding in seconds, not minutes

๐Ÿš€ Quick Start

Global Installation

npm install -g speedrun-init
speedrun-init

One-time Use (npx)

npx speedrun-init

Short Command

# After global install, you can use the short alias
sri

๐ŸŽฎ Usage

Simply run the command and follow the interactive prompts:

$ speedrun-init

๐Ÿš€ Welcome to Project Initializer!
Let's create your new project with modern tooling.

๐Ÿ“ Project name: my-awesome-project
๐Ÿ”ง Language (js/ts) [ts]: ts
๐Ÿ“‹ Template (api/hello-world) [hello-world]: api

๐ŸŽฏ Creating TS api project: my-awesome-project
โœ“ Created directory: my-awesome-project
โœ“ Created directory: my-awesome-project/src
โœ“ Created directory: my-awesome-project/.vscode
โœ“ Created file: my-awesome-project/package.json
โœ“ Created file: my-awesome-project/tsconfig.json
โœ“ Created file: my-awesome-project/.prettierrc.json
โœ“ Created file: my-awesome-project/.eslintrc.json
โœ“ Created file: my-awesome-project/.vscode/settings.json
โœ“ Created file: my-awesome-project/.vscode/extensions.json
โœ“ Created file: my-awesome-project/.gitignore
โœ“ Created file: my-awesome-project/README.md
โœ“ Created file: my-awesome-project/src/index.ts

๐ŸŽ‰ Project created successfully!

๐Ÿ“‹ Next steps:
   cd my-awesome-project
   npm install
   npm run dev

๐ŸŒ Your API will be available at: http://localhost:3000

โœจ Happy coding!

๐Ÿ“‹ Templates

Hello World Template

Perfect for learning or simple scripts:

  • Clean, commented starter code
  • Error handling examples
  • Modern JavaScript/TypeScript patterns

API Template

Production-ready REST API with:

  • Express.js server
  • Security middleware (Helmet, CORS)
  • Request logging (Morgan)
  • Health check endpoint
  • Robust error handling
  • Type-safe responses (TypeScript)

๐Ÿ—๏ธ Generated Project Structure

TypeScript Project

my-project/
โ”œโ”€โ”€ src/
โ”‚   โ””โ”€โ”€ index.ts          # Main application file
โ”œโ”€โ”€ .vscode/
โ”‚   โ”œโ”€โ”€ settings.json     # VS Code settings
โ”‚   โ””โ”€โ”€ extensions.json   # Recommended extensions
โ”œโ”€โ”€ .eslintrc.json        # ESLint configuration
โ”œโ”€โ”€ .prettierrc.json      # Prettier configuration
โ”œโ”€โ”€ tsconfig.json         # TypeScript configuration
โ”œโ”€โ”€ .gitignore           # Git ignore rules
โ”œโ”€โ”€ package.json          # Dependencies and scripts
โ””โ”€โ”€ README.md            # Project documentation

JavaScript Project

my-project/
โ”œโ”€โ”€ index.js              # Main application file
โ”œโ”€โ”€ .vscode/
โ”‚   โ”œโ”€โ”€ settings.json     # VS Code settings
โ”‚   โ””โ”€โ”€ extensions.json   # Recommended extensions
โ”œโ”€โ”€ .eslintrc.json        # ESLint configuration
โ”œโ”€โ”€ .prettierrc.json      # Prettier configuration
โ”œโ”€โ”€ .gitignore           # Git ignore rules
โ”œโ”€โ”€ package.json          # Dependencies and scripts
โ””โ”€โ”€ README.md            # Project documentation

๐Ÿ› ๏ธ What's Included

Development Tools

  • ESLint: Code linting with sensible defaults
  • Prettier: Code formatting that actually works
  • TypeScript: Full type safety (TS projects)
  • Nodemon: Auto-restart during development

VS Code Integration

  • Format on save: Automatic code formatting
  • Extension recommendations: Best extensions for your stack
  • Optimized settings: Perfect workspace configuration
  • IntelliSense: Full autocomplete and type checking

Scripts Ready to Use

{
  "scripts": {
    "dev": "Development server with hot reload",
    "build": "Production build (TypeScript)",
    "start": "Run production build",
    "watch": "Watch mode compilation"
  }
}

๐ŸŽฏ Why Speedrun Init?

| Feature | npm init | create-react-app | Speedrun Init | | ------------------ | --------------- | ---------------- | -------------------- | | Speed | โŒ Manual setup | โŒ Heavy/slow | โœ… Lightning fast | | VS Code Ready | โŒ No config | โŒ Minimal | โœ… Fully configured | | Multiple Templates | โŒ Basic only | โŒ React only | โœ… API + more | | TypeScript | โŒ Manual setup | โš ๏ธ Complex setup | โœ… One command | | Error Handling | โŒ None | โŒ Basic | โœ… Production ready | | Code Quality | โŒ Manual setup | โš ๏ธ Basic | โœ… ESLint + Prettier |

๐Ÿ”ง API Template Features

The API template includes everything you need for a production-ready REST API:

Security

  • Helmet.js: Sets security headers
  • CORS: Cross-origin resource sharing
  • Request size limits: Prevents abuse

Logging & Monitoring

  • Morgan: HTTP request logging
  • Health check endpoint: /health for monitoring
  • Uptime tracking: Built-in metrics

Developer Experience

  • Beautiful error responses: Consistent error format
  • Environment aware: Different behavior for dev/prod
  • Type-safe APIs: Full TypeScript support

Example API Response

{
  "message": "Hello, API World! ๐ŸŒ",
  "version": "1.0.0",
  "timestamp": "2025-07-02T10:30:00.000Z"
}

๐Ÿš€ Development

Want to contribute or modify the CLI?

git clone https://github.com/rajuX75/speedrun-init.git
cd speedrun-init
npm link  # Makes it available globally for testing

๐Ÿ“ License

MIT License - feel free to use this in your projects!

๐Ÿค Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

๐Ÿ› Issues

Found a bug? Have a feature request? Please open an issue on GitHub!


Made with โค๏ธ for developers who want to start coding, not configuring.