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

@purista/cli

v3.0.1

Published

cli helper for PURISTA backend framework

Readme

@purista/cli

@purista/cli is the canonical PURISTA CLI engine. It supports:

  • interactive human usage
  • non-interactive shell and CI execution
  • programmatic access for scripts and agents
  • local blueprint-driven project generation without cloning starter

Create a new project:

npx @purista/cli init

Or use the dedicated wrapper:

npm create purista@latest

Scaffold artifacts inside an existing PURISTA project:

purista add service user --description "User service"
purista add command sign-up --service user --service-version 1 --description "Register a user"
purista add queue process-jobs --service user --service-version 1 --description "Background jobs"
purista add agent triage --service user --service-version 1 --description "Review tickets"

Generated agents use the core-native PURISTA agent builders from @purista/core. Live model providers stay app-level dependencies; add provider packages such as @purista/harness-openai only when the generated application binds real models at runtime.

Non-interactive mode fails fast when a required value has no declared default:

purista add service user --description "User service" --non-interactive
purista init my-app --defaults --non-interactive

Programmatic usage:

import { runPuristaCommand } from '@purista/cli'

await runPuristaCommand(
  'add-service',
  { name: 'user', description: 'User service' },
  { cwd: process.cwd(), mode: 'programmatic' },
)

Project creation can also be planned and materialized directly:

import { planProjectGeneration, materializeProjectGeneration } from '@purista/cli'

const plan = planProjectGeneration({
  target: 'my-app',
  projectName: 'my-app',
  runtime: 'node',
  eventBridge: 'default',
  useWebserver: true,
  fileConvention: 'camel',
  eventConvention: 'dotCase',
  linter: 'biome',
  formatter: 'biome',
  type: 'module',
  packageManager: 'npm',
  installDependencies: false,
})

await materializeProjectGeneration(plan)

Generated tests import the public testing helpers from @purista/core:

  • createCommandContextMock(...) for command handler tests
  • createSubscriptionContextMock(...) for subscription handler tests
  • createStreamTestHarness(...) for runtime stream tests
  • createQueueWorkerTestHarness(...) for runtime queue worker tests
  • createAgentTestHarness(...) and createScriptedHarnessModel(...) for agent runtime tests

Visit purista.dev

Follow on Twitter @purista_js
Join the Discord Chat