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

@nuraljs/cli

v1.2.0

Published

CLI for Nuraljs Framework

Readme

@nuraljs/cli

The official command-line tool for the NuralJS framework.

version license node

@nuraljs/cli is the developer companion for NuralJS — a schema-first, Fastify-native REST framework. It scaffolds new projects, generates feature resources and building blocks, wires in infrastructure integrations, and drives the full dev workflow (dev server, build, test, docs, introspection). Everything runs through a single nural command.

Installation

Install globally to get the nural binary on your PATH:

pnpm add -g @nuraljs/cli
# or
npm install -g @nuraljs/cli

Or run a one-off scaffold without installing:

pnpm dlx @nuraljs/cli new my-app

Quick start

nural new my-app     # scaffold a new project (interactive prompts)
cd my-app
nural dev            # start the development server

nural new prompts for the underlying engine (Fastify or Express), your package manager (npm / pnpm / yarn / bun), and any integrations to include (Redis, WebSockets, RabbitMQ, PostgreSQL/Prisma, MongoDB/Mongoose), then generates the project.

Commands

Run nural <command> --help for details on any command.

Scaffold

| Command | Description | | --- | --- | | nural new <project-name> | Scaffold a new NuralJS project via interactive prompts. | | nural generate <schematic> [name] (alias g) | Generate code — a resource, middleware, provider, or filter. | | nural add [integration] | Add an integration to the project: redis, rabbitmq, mongoose, or prisma-pg. |

Dev workflow

| Command | Description | | --- | --- | | nural dev | Start the development server. -w, --watch enables polling mode for WSL/Docker. | | nural build | Build the application for production. --ignore-ts-errors proceeds despite failing TypeScript checks. | | nural start | Run the production application. --debug enables the inspector. | | nural test | Run application tests. -w, --watch, -c, --coverage, --e2e (end-to-end only). | | nural console (aliases c, tinker) | Launch an interactive application shell (REPL). |

Introspection

| Command | Description | | --- | --- | | nural info | Print environment and project diagnostics (handy for bug reports). | | nural routes (alias list) | List all registered routes. | | nural docs | Generate a static OpenAPI specification file. -o, --output <file> (default openapi.json). | | nural doctor | Check system and project health, including reachability of configured infrastructure. |

Maintenance

| Command | Description | | --- | --- | | nural clean | Remove build artifacts and temporary files. | | nural completion | Generate a shell completion script. | | nural update (alias u) | Update NuralJS dependencies to the latest version. |

nural generate

Supported schematics (pass as the first argument, e.g. nural g resource product):

  • resource — a full feature module: model, request/response schemas, service, controller, and module — scaffolded under src/modules/<name>/ and auto-registered in src/app.ts. Running nural g <name> with a bare name is shorthand for generating a resource.
  • middleware — a middleware in src/common/middleware/.
  • filter — an exception filter in src/common/filters/.
  • provider — a provider in src/providers/, auto-registered in src/main.ts.

Omitting the schematic or name drops into interactive prompts.

nural add

Installs the required dependencies, generates a provider, and prints the configuration steps for the chosen integration:

  • redisioredis provider (src/providers/redis.ts).
  • rabbitmqamqplib provider (src/providers/rabbitmq.ts).
  • mongoose — Mongoose provider (src/providers/mongoose.ts).
  • prisma-pg — Prisma + @prisma/adapter-pg provider, a starter prisma/schema.prisma, and db:generate / db:migrate scripts.

Omitting the integration name opens an interactive picker.

Requirements

  • Node.js ≥ 24

Ecosystem

Part of the NuralJS ecosystem:

| Package | Description | | --- | --- | | @nuraljs/core | Schema-first, Fastify-native REST framework | | @nuraljs/cli | Project scaffolding & dev tooling (nural) | | @nuraljs/testing | Test harness — drive routes through the real adapter | | @nuraljs/auth | Functional auth: binary tokens, KMS, OAuth, RBAC/ABAC | | @nuraljs/microservices | Contract-first RPC & message brokers |

Documentation

Full documentation at nuraljs.org/docs.

License

MIT © Chetan Joshi