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

@oml/cli

v0.18.0

Published

The cli specific package

Readme

OML CLI

@oml/cli is the command-line interface for linting, exporting, reasoning over, rendering, and validating OML workspaces.

Package Layout

  • package.json - package manifest and published CLI entry
  • bin/cli.js - executable entrypoint used by the published oml command
  • src/main.ts - TypeScript entrypoint
  • src/cli.ts - command registration and top-level CLI wiring
  • src/commands - lint, export, reason, render, validate, and server command implementations

Instructions

Use the public npm registry for @oml/* packages:

registry=https://registry.npmjs.org/
@oml:registry=https://registry.npmjs.org/

From the repo:

node ./packages/cli/bin/cli.js --help

When installed, the command name is oml.

The CLI uses the built-in production OML Platform endpoint by default. Set OML_PLATFORM_API_URL=<url> to override it.

Quick Start

# Sign in
oml login

# Lint the current workspace
oml lint

# Start the OML server
oml start

# Stop the OML server
oml stop

# Export asserted OWL files
oml export -o build/owl

# Run consistency reasoning (check-only)
oml reason

# Run consistency reasoning and persist entailments
oml reason -o build/owl

# Render markdown to static HTML
oml render -m src/md -b build/web

Global Options

  • -v, --version — print the version number
  • -d, --debug — print detailed error diagnostics (stack traces and nested causes)

Commands

  • login Runs GitHub device-flow sign-in, exchanges the GitHub token with the OML Platform, and stores the returned platform session.
  • logout Removes the local sign-in session.
  • whoami Prints the current sign-in session.
  • lint Validates one file, or the current workspace when no file is given.
  • export [-o|--owl <dir>] [-f|--format <ttl|trig|nt|nq|n3>] [--pretty] Exports asserted OWL files (no reasoning or entailment materialization).
  • reason [-o|--owl <dir>] [-f|--format <ttl|trig|nt|nq|n3>] [--pretty] [-u|--unique-names-assumption <true|false>] [-e|--explanation <true|false>] Runs workspace consistency checks. Without --owl, runs in check-only mode with no file output. With --owl, persists assertions and entailments to the given folder.
  • render -m|--md <input-folder> -b|--web <output-folder> [-c|--context <model-path>] Runs lint, then renders markdown files to static HTML. The optional --context sets the workspace-relative .oml model path used as the default navigation context for wikilinks.
  • validate Validates table-editor SHACL blocks in workspace markdown files. Runs lint first.
  • start [port] [-p|--port <port>] [-w|--workspace <workspace>] Starts the OML server. When no port is provided, an available port is selected automatically. Use OML_PLATFORM_API_KEY for non-interactive (CI) start; otherwise an interactive OAuth login is triggered if no session is stored.
  • stop Stops the running OML server.
  • status Prints the OML server status.
  • list Shows all actively running OML servers.