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

@robotixai/lexius-cli

v0.2.0

Published

CLI for Lexius AI compliance platform — classify systems, check obligations, calculate penalties, run assessments

Downloads

432

Readme

@robotixai/lexius-cli

Command-line interface for the Lexius AI compliance platform. Query obligations, penalties, deadlines and articles across 10 EU regulations (GDPR, EU AI Act, DORA, DSA, DMA, Data Act, DGA, CRA, MiCA, eIDAS 2.0) directly from your terminal.

Quick Start

# Requires DATABASE_URL pointing to a Lexius Postgres instance
export DATABASE_URL=postgresql://$POSTGRES_USER:$POSTGRES_PASSWORD@localhost:5432/$POSTGRES_DB

# List available legislations
npx @robotixai/lexius-cli legislations

# Classify an AI system
npx @robotixai/lexius-cli classify \
  --legislation eu-ai-act \
  --description "AI recruitment screening system" \
  --role provider

# Get provider obligations for high-risk systems
npx @robotixai/lexius-cli obligations \
  --legislation eu-ai-act \
  --role provider \
  --risk-level high-risk

# Calculate penalty exposure
npx @robotixai/lexius-cli penalty \
  --legislation eu-ai-act \
  --violation high-risk-non-compliance \
  --turnover 500000000

# Look up verbatim article text
npx @robotixai/lexius-cli article 99 --legislation eu-ai-act

# Check compliance deadlines
npx @robotixai/lexius-cli deadlines --legislation eu-ai-act

# Semantic search
npx @robotixai/lexius-cli search "risk management" \
  --legislation eu-ai-act \
  --type obligation

# Generate a full compliance audit report
npx @robotixai/lexius-cli audit \
  --legislation eu-ai-act \
  --description "AI recruitment screening system" \
  --role provider

Commands

| Command | Description | |---------|-------------| | legislations | List all available legislations | | classify | Classify an AI system under a risk framework | | obligations | List compliance obligations by role/risk level | | penalty | Calculate penalty for a violation type | | article <number> | Retrieve a specific article by number | | deadlines | List compliance deadlines | | search <query> | Semantic search across the knowledge base | | assess <id> | Run a structured compliance assessment | | audit | Generate a full compliance assessment report |

Output Formats

All commands output JSON by default. Use --format table for tabular output where supported.

Provenance

Every result includes a provenance tier indicating its source:

  • AUTHORITATIVE — verbatim from official regulation text
  • CURATED — expert-reviewed compliance interpretation
  • AI_GENERATED — model output, flagged for review

Requirements

  • Node.js 18+
  • A running Lexius Postgres database

The fastest way to get a database with the schema ready:

docker run -d -p 5432:5432 \
  -e POSTGRES_PASSWORD=$POSTGRES_PASSWORD \
  -e POSTGRES_DB=$POSTGRES_DB \
  -e POSTGRES_USER=$POSTGRES_USER \
  robotixai/lexius-db
export DATABASE_URL=postgresql://$POSTGRES_USER:$POSTGRES_PASSWORD@localhost:5432/$POSTGRES_DB

You'll then need to seed data and fetch verbatim regulation text — see the main repository for instructions.

Legislations Supported

  • EU AI Act (Regulation 2024/1689) — 113 articles + 13 annexes, 35 obligations, 3 penalty tiers
  • DORA (Regulation 2022/2554) — 64 articles, 26 obligations, 2 penalty tiers

Links

License

MIT