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

@flancer32/skill-teqfw-esm-validator

v0.6.0

Published

Validate TeqFW-compatible ES modules with a JSON CLI and installable agent skill.

Readme

skill-teqfw-esm-validator

Validate TeqFW-compatible ES modules with a deterministic JSON CLI.

Current package version: 0.6.0.

What It Does

The validator checks TeqFW source files against the profile/rule model documented in ctx/:

  • the base profile for all modules
  • the type-regular profile for regular TeqFW components
  • the type-config-runtime profile for runtime configuration components
  • atomic AST, JSDoc, and runtime rules owned by those profiles

The CLI accepts either:

  • a single .mjs or .js file
  • a directory, which is scanned recursively for matching .mjs and .js files

By default, the CLI runs the base profile. Use --profile to select a different documented profile.

Install

npm install -g @flancer32/skill-teqfw-esm-validator

The package installs the agent skill automatically during postinstall.

Update

Update the installed package the same way you installed it:

npm install -g @flancer32/skill-teqfw-esm-validator@latest

If you already have the package installed globally, this refreshes the CLI and reinstalls the bundled agent skill during postinstall.

Usage

Validate one file:

teqfw-esm-validator src/Rules/Ast/RequireDefaultExport.mjs

Validate a directory recursively:

teqfw-esm-validator src

Validate with an explicit profile:

teqfw-esm-validator --profile type-config-runtime src/Profiles/Type/Config/Runtime.mjs

The CLI prints strict JSON and exits with:

  • 0 when validation succeeds
  • 1 when validation fails or the CLI encounters an error

Output

Successful validation:

{
  "valid": true,
  "violations": []
}

When validating a directory, violations include the affected fileName so you can see which file failed.

CLI errors are also reported as JSON violations, for example:

  • cli.missing-argument
  • cli.missing-file
  • cli.unknown-profile
  • cli.runtime-error

Agent Skill

The packaged skill lives in skill/SKILL.md.

Development

npm install
npm test

Release notes are tracked in CHANGELOG.md.