JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 12
  • Score
    100M100P100Q87088F
  • License MIT

CLI for scaffolding ZanzoJS in your project

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@zanzojs/cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    @zanzojs/cli

    The official CLI for ZanzoJS. Scaffolds your project with the correct boilerplate in seconds.

    Usage

    No installation needed:

    npx @zanzojs/cli@latest init    # Scaffold a new project
    npx @zanzojs/cli@latest check   # Lint and validate your schema

    Or install globally:

    pnpm add -g @zanzojs/cli
    zanzojs init
    zanzojs check

    What it generates

    • zanzo.config.ts — Your ZanzoJS schema with the entities you specified
    • zanzo-migration.sql — The Universal Tuple Table migration for your database
    • src/app/api/permissions/route.ts — Snapshot compilation endpoint
    • src/app/api/grant/route.ts — Permission grant endpoint with expandTuples
    • src/app/api/revoke/route.ts — Permission revoke endpoint with collapseTuples
    • .cursorrules / CLAUDE.md / .windsurfrules — Agent context rules for your IDE

    Documentation

    ZanzoJS Monorepo