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

@noidmejs/atomkit-compiler

v0.5.0

Published

Compile AQL (Atomkit Query Language) / atomkit documents to standalone React (TSX) code you own — no runtime lock-in. Governance-aware (governed/hidden nodes fail closed). Turn .aql into a plain React component.

Readme

@noidmejs/atomkit-compiler

Compile AQL → standalone React (TSX) you own. No runtime lock-in: the only dependency of the emitted component is React itself.

npm i -D @noidmejs/atomkit-compiler

Node API

import { compileToReact } from '@noidmejs/atomkit-compiler';

const tsx = compileToReact(`
page "Home" {
  section pad-y=72 bg="#f7f9fc" {
    heading "Hello" level=1 color=#0b1220
    button "Get started" href=/start track=cta
  }
}
`, { name: 'Home' });

// → import * as React from 'react';
//   export default function Home() { return ( <> <section …> … </section> </> ); }

CLI

atomkit-compile page.aql -o page.tsx --name Home

Wire it into your build to turn .aql files into components at deploy time.

What it does

  • Parses AQL (via @noidmejs/atomkit) to the document tree, then emits JSX.
  • Styles resolved at compile time through atomkit's whitelist → literal style objects.
  • hrefs / image srcs guarded at compile time (safeHref / safeImageSrc).
  • Text emitted as JS-string expressions, so nothing needs escaping.
  • a11y + analytics attributes compiled in.

Governance: fails closed

Static compiled output cannot enforce runtime governance — per-viewer role / consent / PII gating needs facts that don't exist at compile time. So the compiler omits any node flagged protected / roles / consentCategory / pii, or hidden (and governed descendants of public containers), and emits a comment counting what it dropped. Render conditional-per-viewer content through the @noidmejs/atomkit runtime renderer instead.

Scope (v0.2)

Covers static structure + style + a11y + analytics — great for marketing/content pages you want to own as code. Dynamic concerns (API data-binding, responsive media queries, runtime PII/consent gating, the client video atom) are runtime features: use the @noidmejs/atomkit renderer for those. A Vite/Next .aql plugin and a document/Next-RSC backend are on the roadmap.

Security

See SECURITY.md. In short: no raw HTML / no eval; styles resolved through atomkit's whitelist; dimension props sanitised (safeDim); hrefs / srcs / icon paths guarded; U+2028/29 escaped; grid columns clamped; icon a11y parity with the runtime; governance fails closed (governed/hidden nodes omitted). Treat AQL input as trusted authoring. Report vulnerabilities via a GitHub Security Advisory. Pre-1.0 and not yet independently pen-tested.

MIT © noidmejs