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

niral

v0.1.4

Published

Niral — the zero-dependency full-stack framework by ZyoraLabs. This package is a tiny launcher; the framework itself lives at github.com/Zyora-Dev/niral and has zero dependencies.

Readme

Niral CLI

Zero-dependency launcher for the Niral full-stack framework. Requires Node.js 22+.

Use

npx niral create myapp
cd myapp
npx niral dev

Or install one global launcher:

npm install -g niral
niral create myapp --template blog
niral dev myapp

Both niral and create-niral packages provide the same two executable names. Install only one globally to avoid bin conflicts. Templates: minimal (default), blog, dashboard. Create refuses to overwrite a nonempty project directory.

The first project command downloads the framework from the official repository into ~/.niral/framework. Set NIRAL_HOME to choose another install directory. Normal commands reuse the cached framework without checking the network. Keep projects outside that directory.

Commands

npx niral --help
npx niral --version
npx niral check myapp
npx niral test myapp
npx niral build myapp
npx niral start myapp
npx niral add api myapp

All framework commands and arguments are forwarded, with the framework's exit status preserved. See the complete CLI reference. --version reports this launcher and, when installed, the framework version. The generated direct niral shim reports the framework version only.

Update

Launcher 0.1.4 supports explicit framework updates and persisted revision pins:

npx niral@latest update

This explicitly updates NIRAL_HOME/framework, even when the cached framework has no update command. The default is the repository's main branch. Updating also refreshes an existing generated shell shim so its updater remains independent of older pinned framework code. Updating the npm launcher alone does not refresh the framework; update a globally installed launcher separately with npm install -g niral@latest.

Set APPROVED_FRAMEWORK_SHA to a reviewed full 40-character lowercase commit SHA:

NIRAL_REF="$APPROVED_FRAMEWORK_SHA" npx niral@latest update
niral update
NIRAL_REF=main npx niral@latest update

The selection is saved in NIRAL_HOME/.framework-ref; plain updates retain it. Existing v-prefixed version tags are also accepted, but tags can move: use a full commit SHA for reproducibility. NIRAL_REF=main explicitly removes the pin. Fresh installations accept the same variable; switching a cached install requires an explicit update. npm versions and framework revisions are independent.

Git installs must be clean, on main or a managed detached pin, and use the official HTTPS origin. main updates are fast-forward only; a Git failure never replaces the checkout with an archive. Pin changes and non-Git replacements are staged and syntax-checked first; the complete previous directory is retained at the printed framework-backup-*/framework path. Local files in that backup are not merged into the new framework. No backups are pruned.

Stop active development/build commands before updating. Concurrent installers are refused. If interrupted, inspect other installer processes before manually removing a stale NIRAL_HOME/.framework-install-lock directory. Symlinked installs and updates invoked from unmanaged source checkouts are refused; maintain those with Git. An update does not migrate apps, publish packages or deploy/restart servers.

Developer Intelligence

npx niral di setup
npx niral di status
npx niral di ask "Explain this project" --root ./myapp --read-only
npx niral di chat --root ./myapp
npx niral di new myblog "Customize the home page" --template blog

npx niral di setup offers OpenAI, Claude (Anthropic), Azure OpenAI or Custom. Named providers set protocol/auth automatically; Custom keeps manual choices. Enter your exact model/deployment and credential variable name. Azure also asks for its resource URL or /openai/v1 base. Bedrock is not yet supported. Use npx niral di setup --help for noninteractive flags. Credentials stay in a named environment variable, not config or project files. File reads/edits require a terminal and per-tool approval; writes retain backups and reject stale hashes. ask <prompt> --no-tools permits prompt-only automation. No unrestricted shell, automatic tests, transcript persistence or Niral Cloud requirement. See the DI commands and safeguards. Existing cached frameworks need npx niral@latest update to acquire DI commands.