@northstar/core (0.2.1)

Published 2026-06-19 03:27:19 +00:00 by stephen

Installation

@northstar:registry=
npm install @northstar/core@0.2.1
"@northstar/core": "0.2.1"

About this package

@northstar/core

Content pipeline, navigation, MDsveX + Shiki preset, and the Vite integration that powers a Northstar site.

Also home to the publication platform primitives:

  • The Publication config type that binds collections, content-type schemas, taxonomy, feeds, and layout into one publication surface.
  • draft frontmatter handling: production builds drop draft: true pages, and the NORTHSTAR_PREVIEW=1 build override forces draft-inclusive output for per-branch preview deploys (see docs/spec/draft-preview-workflow.md).
  • A stable frontmatter round-trip serializer (parseFrontmatter / editFrontmatter) that rewrites only edited top-level keys and preserves untouched keys, comments, and ordering, for the git-backed authoring write path (ADR 0004).

Part of Northstar. MIT licensed.

Dependencies

Dependencies

ID Version
github-slugger ^2.0.0
gray-matter ^4.0.3
mdast-util-to-string ^4.0.0
mdsvex ^0.12.3
shiki ^1.24.0
unist-util-visit ^5.0.0

Development dependencies

ID Version
katex ^0.16.0
vitest ^2.1.0

Peer dependencies

ID Version
vite ^5.0.0 || ^6.0.0 || ^7.0.0
Details
npm
2026-06-19 03:27:19 +00:00
55
MIT
latest
79 KiB
Assets (1)
Versions (8) View all
0.2.1 2026-06-19
0.2.0 2026-06-18
0.1.5 2026-06-17
0.1.4 2026-06-05
0.1.3 2026-06-03