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

tejasetup

v1.0.1

Published

Interactive project system generator CLI

Readme

tejasetup — interactive project system generator

Scaffold web, API, full-stack, and Node CLI workspaces with npm workspaces, React (Vite), Express, shared code, and optional auth / database / logging stubs.


Requirements

  • Node.js 20+
  • npm (for generated projects and optional git init / npm install steps)

Install

Install the package locally (no -g). Run it with npx so npm resolves the CLI from node_modules.

npm install tejasetup

Then use tejas or tejasetup via npx (there is no npx install tejasetup — use npx tejasetup or the commands below):

npx tejasetup                    # interactive create (same as init)
npx tejasetup init
npx --package=tejasetup tejas init   # same binary, explicit name `tejas`

You can also call the binaries directly:

./node_modules/.bin/tejas init
./node_modules/.bin/tejasetup doctor

No prior installnpx can download and run a version from the registry (still not global):

npx tejasetup
npx tejasetup@latest init

Optional package.json script (shorter typing after npm install tejasetup):

{
  "scripts": {
    "new-project": "tejasetup"
  }
}

Then: npm run new-project

From a clone of this repo:

cd tejasetup
npm install
npx tejasetup

Screenshots

Blueprint & recommended setup

After you pick a project type, mode, and features, the CLI shows a Recommended Setup summary — stack, data tier hints, and the feature set so you can accept suggestions or continue with your own choices.

Recommended setup — stack and feature checklist

Structure & planned files

Before generation, review the folder tree and planned root files (for example package.json, .env, README.md) so you know exactly what will be created.

Project structure tree and planned root files

File preview (diff-style)

See a preview of generated files (here: Vite client entry, package.json, styles) similar to a patch view, then confirm when you are ready to write to disk.

Preview of generated client files

Usage

After npm install tejasetup, prefix commands with npx (or use ./node_modules/.bin/…):

npx tejasetup                    # interactive create (default)
npx tejasetup init
npx --package=tejasetup tejas init

npx tejasetup add auth
npx tejasetup add database
npx tejasetup add logging

npx tejasetup doctor

tejas and tejasetup are the same CLI. Use -C <path> with add or doctor to point at a project directory.

Publishing to npm

Maintainers: see PUBLISHING.md for login, version bumps, npm publish, and install-command reference.

Generated output

  • Stacks: React (Vite) client, Node (Express) API, Node CLI layout, and shared/ — depending on what you pick.
  • Features: The CLI records choices in .tejasetup/manifest.json. Auth / database / logging add starter server and client files, not production auth.

Security

Replace demo values before production:

  • JWT_SECRET and any secrets in .env
  • Auth routes are demos (e.g. JWT sign without real user storage unless you wire a database)

tejas add and your stack

add applies the same dependency and stack rules as init (non-interactively): for example, enabling auth can auto-enable database where the rules require it; options that need Express are dropped if your manifest has no API server. If a feature cannot apply to your stack, the command warns you and does not change the manifest.

Project types vs templates

Many project types (Electron, React Native, extension, etc.) mainly adjust folder placeholders. The richest templates today are web, API, full-stack, CLI, and library-style layouts.

License

MIT — see LICENSE.

Repository

https://github.com/tejgokani/tejasetup — update package.json repository / bugs / homepage if you fork.