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

@vertekum/core

v0.3.15

Published

Vertekum kernel

Readme

@vertekum/core

The Vertekum kernel: everything headless. Design tokens go in as DTCG files; composed, validated, exportable output comes out — no browser, no UI, no server required.

What it does

  • DTCG parsing and serialization — the 2025.10 format, including $root base values, group-level $type, and both reference forms ({alias} and JSON-Pointer $ref). Values keep the notation they were authored in; codecs convert per type.
  • Resolver composition — DTCG Resolver Module documents (sets, modifiers, contexts, resolutionOrder) are the unit of theming. A composition resolves structure-level and value-level, per context.
  • Validation — references (aliases, pointers, type mismatches), resolver semantics, export-target shapes, and schema-file bindings (a project's vocabulary, validated in parallel with the format schema) all run as builtins.
  • Exporter registry — output formats register as exporters with declared option schemas; configured targets run them repeatably. Exporters plug in as extensions.
  • Config enginedefineConfig / defineExtension, typed extension manifests and settings, a service registry, and a command registry for contributed CLI verbs.

Get started

Most projects consume the kernel through the vertekum CLI (@vertekum/cli):

npm install --save-dev @vertekum/core @vertekum/cli

A project is a directory with a config file and a token collection:

my-tokens/
├── vertekum.config.ts
└── tokens/
    ├── core.json               # a token set (DTCG)
    └── default.resolver.json   # a theme composition (DTCG Resolver Module)

The config states what is — the collection, the schemas the project is held to, the export targets:

import { defineConfig } from '@vertekum/core';
import { cssExportExtension } from '@vertekum/ext-export-css';

export default defineConfig({
  collection: './tokens',
  extensions: [cssExportExtension],
  targets: [{ id: 'web', exporter: 'css', composition: 'default', out: 'build/css' }],
});

Then vertekum check validates the collection, vertekum build runs the targets, and vertekum describe --json reports what can be configured — registered exporters and their option schemas, validators, compositions.

Direct use is ordinary Node:

import { dtcg, parseCollection } from '@vertekum/core';
import { readCollection } from '@vertekum/core/node';

The dtcg facade groups the token and resolver operations (dtcg.tokens, dtcg.values, dtcg.resolvers) behind one discoverable entry point.

Documentation

  • Configurationvertekum.config.ts, every field, merge semantics.
  • Schema validation — vocabulary bindings, layering, ejection, diagnostics.
  • Tokens — sets, groups, $root, value notation, references.
  • Extension-held token data — token codecs: generative payloads materialized into ordinary tokens. (Custom types are a schema concern — see schema validation.)
  • Resolvers and theming — compositions, modifiers, resolution.
  • Export — the exporter contract, targets, the run model.
  • Commands — contributing new verbs and EXTENDING existing ones: the command extension chain, its contracts, proposals and refusals.
  • The core API — direct headless use: the dtcg facade, the kernel, scales.

License

Apache-2.0