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

v1.0.0

Published

The official command-line tool to bootstrap a new bklar web framework project.

Downloads

4

Readme

create-bklar 🐰

NPM Version License: MIT

The official command-line tool to bootstrap a new bklar project.

This package allows you to quickly scaffold a new application with a sensible project structure and all the necessary boilerplate, so you can start building your API in minutes.


🚀 Usage

The recommended way to use this tool is via bun create, which is Bun's built-in command for project scaffolding. You don't need to install this package globally.

Make sure you have Bun installed, then run the following command:

bun create bklar

This will launch an interactive setup wizard that guides you through the process of creating your new project.

The Setup Wizard

The wizard will ask you a few questions to customize your project:

  1. Project Name: The name of your new application directory.
  2. Project Template: Choose a starting point for your project.

You can choose from one of three templates:

  • Minimal: A blank slate. Just the bare essentials to get you started.
  • REST API Starter: A pre-configured setup that includes common plugins like CORS, JWT, and Rate Limiting. Perfect for quickly building a production-ready API.
  • Custom: Gives you full control to choose exactly which official plugins you want to include in your project.

After setting up your project, the tool will also offer to initialize a Git repository and install dependencies for you.

Non-Interactive Mode

If you want to skip the interactive prompts, you can pass the project name as an argument. The tool will then scaffold a project using the default Minimal template.

bun create bklar my-awesome-app

Next Steps

After the scaffolding is complete, follow the on-screen instructions to start your development server:

cd my-awesome-app
bun install
bun run dev

Your new bklar application will be running at http://localhost:3000.

📦 What's Included?

Depending on your choices, the generated project will include:

  • A minimal bklar server setup in index.ts.
  • A package.json with bklar and any selected plugins as dependencies.
  • A pre-configured tsconfig.json for a modern Bun project.
  • A standard .gitignore file.
  • An initialized Git repository (optional).

🤝 Contributing

This package is part of the main bklar repository. Contributions are welcome! Please open an issue or submit a Pull Request.

📄 License

This project is licensed under the MIT License.


Key Improvements in This README:

  1. Focus on Interactivity: The Usage section now highlights the interactive wizard (bun create bklar) as the primary way to use the tool, as it's the most powerful feature.
  2. Showcases Templates: It clearly explains the three available templates (Minimal, REST API Starter, Custom), helping users understand their options immediately.
  3. Explains Non-Interactive Mode: It still documents the non-interactive mode (bun create bklar my-app) but clarifies that it uses the default template.
  4. Updated What's Included? Section: This section is now more dynamic, mentioning that the contents depend on the user's choices.
  5. Clarity and Flow: The overall structure is designed to guide the user from the simplest command to understanding the powerful customization options available.