JSPM

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

CLI for creating, validating, compiling, and serving Vox documents

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 (@voxdoc/cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    @voxdoc/cli

    CLI for creating, validating, compiling, and serving Vox documents.

    Install

    npm install -g @voxdoc/cli

    Commands

    # Create a new document
    vox init my-doc.vox --title "My Document"
    
    # Register .vox files with your OS (first time only)
    vox setup
    
    # Validate against schema + accessibility rules
    vox validate my-doc.vox
    
    # Recompile (re-renders the self-rendering HTML)
    vox compile my-doc.vox
    
    # Show document metadata
    vox info my-doc.vox
    
    # List all blocks
    vox blocks my-doc.vox
    
    # Open in browser
    vox view my-doc.vox
    
    # Start MCP server for AI authoring (file or directory)
    vox mcp serve my-doc.vox
    vox mcp serve ./docs/

    How it works

    Vox documents are self-rendering HTML files with embedded JSON source. Double-click a .vox file to view it in any browser. AI agents connect via MCP to author documents. Humans review by exception.

    vox init doc.vox --title "API Docs"    # creates self-rendering .vox
    # open doc.vox in browser → see it immediately
    # AI edits via MCP → file re-renders automatically
    vox compile doc.vox                     # re-render from embedded source

    License

    MIT — Raiser Software Inc.