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

bnjet

v1.0.2

Published

A simple bnjsx scaffolding tool to create projects in seconds.

Downloads

38

Readme

bnjet

bnjet is a scaffolding tool for the bnjsx framework, allowing you to quickly create bnjsx projects in seconds.

Installation

To install bnjet globally, run:

npm install -g bnjet

Once installed, you can use the command line tool globally.

Available Commands

  • bnjet -v Prints the current version of bnjet.

  • bnjet new <path> <options> Creates a new bnjsx project in the specified path or in the current directory if no path is specified. You need to provide one of the following options:

    • -ts to create a bnjsx TypeScript project for web.
    • -js to create a bnjsx JavaScript project for web.
    • -ts -react to create a bnjsx TS React project (coming soon in the next version).
    • -js -react to create a bnjsx JS React project (coming soon in the next version).
    • -ts -vue to create a bnjsx TS Vue project (coming soon in the next version).
    • -js -vue to create a bnjsx JS Vue project (coming soon in the next version).

Getting Started

  1. After installing bnjet, navigate to your project directory and run:
npm install
  1. Start the Vite server for development:
npm run dev
  1. Start the bnjsx server and open your application at localhost:2025:
npm run start

By default, bnjsx projects come with auth implemented out of the box, but we plan to introduce an option in the future to configure this functionality.

Frontend Development with Vite

bnjsx projects use Vite for frontend asset handling, which means you'll get HMR (Hot Module Replacement) and live reload every time you update your views or React components.

Jest Testing

Your bnjsx project comes with Jest preconfigured, Simply place your test files in the test folder and run:

npm run test

Command Line Tool

bnjsx projects also come with a command-line interface entry point at the root project, exec.js. You can use it to communicate with bnjsx and execute commands like:

node exec -v
node exec mk:gen products

Alternatively, you can use npx bnjsx -v, but note that it may be a bit slower.

TailwindCSS Integration

bnjsx projects come with TailwindCSS preconfigured. It’s ready to use with auto-reload when you update your views or React components (if using React).

Assets Handling

Assets in the public folder are served by the bnjsx server, while assets in the assets folder are served by the Vite server during development and by the bnjsx server in production. To switch to production, make sure to set the bnjsx.config.js env option to pro.

Production Setup

When your project is ready for production, follow these steps:

  1. Build your project:
npm run build

This will output the build to the /app folder.

  1. Install production-only dependencies:
cd app && npm i --omit=dev
  1. Make sure your database is ready by running:
node exec gen
  1. Update bnjsx.config.js in the /app folder:

    • Set env to pro
    • Set cache to true
    • Configure other options such as host, port, protocol, key, cert, etc.
  2. Run the server:

node index

Enjoy Your Development

That’s it! Enjoy seamless bnjsx development with bnjet.