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

memnex-spec

v0.2.0

Published

Reference JavaScript/TypeScript implementation of the memnex specification — an open standard for portable meeting outputs (transcripts, summaries, action items, decisions).

Readme

memnex-spec

Reference JavaScript/TypeScript implementation of the memnex specification — an open standard for portable meeting outputs.

This package provides:

  • A runtime validator built on ajv (JSON Schema Draft 2020-12)
  • TypeScript types generated directly from the schema
  • The raw schema document, for downstream tools

Latest schema version: 0.2. The package also ships v0.1 for backward compatibility via version-pinned subpaths.

Install

npm install memnex-spec

Usage

The default import targets the latest schema version (currently v0.2):

import { validate, isValid, schema, type MeetingOutput } from "memnex-spec";

const result = validate(JSON.parse(text));
if (result.valid) {
    const meeting: MeetingOutput = result.data;
    console.log(meeting.meeting_id);
} else {
    for (const err of result.errors) {
        console.error(`${err.path}: ${err.message}`);
    }
}

// Type guard variant
if (isValid(data)) {
    // data is narrowed to MeetingOutput (v0.2 shape)
}

Choosing a schema version

If you need to validate against a specific schema version regardless of what the package considers "latest", import from a version-pinned subpath:

// Pin to v0.1
import { validate, isValid, schema, type MeetingOutput } from "memnex-spec/v0.1";

// Pin to v0.2 (explicit form of the default)
import { validate, isValid, schema, type MeetingOutput } from "memnex-spec/v0.2";

The shape of the API (validate, isValid, schema, MeetingOutput, ValidationResult, ValidationError) is identical across all version-pinned subpaths.

Accessing the raw schema and examples

import { schema } from "memnex-spec";       // latest = v0.2
// or version-pinned:
import { schema as v0_1Schema } from "memnex-spec/v0.1";
import { schema as v0_2Schema } from "memnex-spec/v0.2";

JSON subpath exports for tooling that prefers direct JSON imports (bundlers, schema browsers, code generators):

  • memnex-spec/schema — raw JSON Schema document for the latest version (currently v0.2)
  • memnex-spec/schema/v0.1 — raw v0.1 JSON Schema document
  • memnex-spec/schema/v0.2 — raw v0.2 JSON Schema document
  • memnex-spec/examples/v0.1/minimal — minimal valid v0.1 example
  • memnex-spec/examples/v0.1/full — full v0.1 example with all optional fields
  • memnex-spec/examples/v0.2/minimal — minimal valid v0.2 example
  • memnex-spec/examples/v0.2/full — full v0.2 example (all v0.1 fields, no v0.2-specific fields)
  • memnex-spec/examples/v0.2/full-with-config — v0.2 example showcasing pipeline_config and provenance.host_hash
  • memnex-spec/types — TypeScript types only (no runtime), for the latest version

Direct ESM imports of JSON subpaths require Node's import attributes syntax: import x from "memnex-spec/schema" with { type: "json" }. Most consumers will not need this; use import { schema } from "memnex-spec" instead.

Migration from 0.1.x

[email protected] is a breaking release at the package layer. Two migration paths:

Stay on v0.1 schema (one-line change)

If your documents are at schema_version: "0.1.0" and you are not ready to migrate:

- import { validate, isValid, schema, type MeetingOutput } from "memnex-spec";
+ import { validate, isValid, schema, type MeetingOutput } from "memnex-spec/v0.1";

If you used the unversioned example subpaths, switch to versioned subpaths:

- import minimal from "memnex-spec/examples/minimal" with { type: "json" };
+ import minimal from "memnex-spec/examples/v0.1/minimal" with { type: "json" };

Migrate documents to v0.2 (recommended)

The v0.2 schema is a strict superset of v0.1 — it adds two new optional fields (pipeline_config and provenance.host_hash) and does not remove or rename anything. Migration steps:

  1. In your producer code, bump schema_version from "0.1.0" to "0.2.0" on emitted documents.
  2. Optionally populate pipeline_config and provenance.host_hash if useful for your use case. See SPEC.md for field semantics.
  3. No code changes required — existing imports from "memnex-spec" continue to work and now validate the upgraded documents.

What is memnex?

memnex is an open specification for storing meeting recordings as structured data: a single JSON document that combines transcript, summary, action items, decisions, and provenance metadata, in a format any tool can read and write.

The full specification lives at github.com/UladzKha/memnex.

Version compatibility

| memnex-spec package | Default schema | Pinned subpaths available | | --------------------- | -------------- | ------------------------- | | 0.1.x | 0.1 | — | | 0.2.x | 0.2 | v0.1, v0.2 |

License

MIT. See LICENSE-CODE at the repository root.