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

v0.3.3

Published

npm create nisc — a new nisc application: a few questions, then an app with the right structure, its rulebook, and a first screen that works.

Readme

create-nisc

A new nisc application.

npm create nisc

Three questions, because they are what shape the files:

  1. Where should it go? The folder's name becomes the app's name.
  2. Where does the shell run? On a server — moss: one shell per person on the server, the charter enforced there. Or in the page — no server: offline, static hosting, and the charter is not a security boundary.
  3. What draws the screen? React, or plain DOM (no framework in the page).
npm create nisc my-app -- --page --dom     # flags answer the questions
npm create nisc my-app -- --yes            # the defaults: moss, React

| | | |---|---| | dir | where the app goes (default my-nisc-app) | | --moss / --page | the shell on a server (the default), or in the page | | --react / --dom | React draws the screen (the default), or plain DOM | | --yes | take the defaults for anything not given, and ask nothing | | --help, -h | this list |

With no terminal to ask in, the flags are all there is and the rest takes the defaults. An option it does not know is an error, never ignored — a typo must not quietly make a different app.

What you get

The structure the rulebook describes, and a first screen that works:

  • one action on a canvas, a kit of five primitives with its stylesheet, and an entry — the first screen arrives as markup (drawn by the server, or written at build) and is picked up by the page;
  • npm run dev, build, check and start — and, with the shell in the page, export — all the nisc command; nisc dev runs a moss app's server inside vite, so its vite.config.ts holds nothing but the framework's plugin;
  • three checks: the artifacts are pure, schema-valid JSON; the source is at the installed grammars (strata.lock.json); the welcome screen is served, drawn and pressed;
  • every @niscorp package at the release this create-nisc was built and checked against — a caret range from each one's version (such as ^0.2.0), not whatever is newest — and @niscorp/nisc itself, which pins that set exactly and carries the rulebook.

And two documents:

  • PLAN.md — what was decided when it was made (the posture with its consequences, the renderer), and everything else the rulebook's interview asks, written down as open. Nothing gets built on an open decision.
  • AGENTS.md — where the rules are: node_modules/@niscorp/nisc/AGENTS.md, the rulebook for the version installed. It does not copy them.

A folder that already exists

It never overwrites. A folder that already holds something is fine — a fresh repository's .git, a LICENSE — as long as nothing a new app would write is there. Your README.md is kept; your .gitignore gets the lines it lacks. If anything else it would write already exists, it writes nothing and names the files; make the app in a subfolder instead:

npm create nisc site -- --page --dom

Why it can be trusted to work

The four templates are real apps in the nisc repository: typechecked, built and checked by its CI on every change. And CI makes each kind of app with the built create-nisc, outside the repository, installs it from the packed packages under pnpm's strict resolution, and typechecks, checks and builds it (pnpm check:create). A new app starts from something that works today.

License

Apache-2.0