New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

okforest

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

okforest

The OKForest CLI: validate Open Knowledge Format (OKF) v0.2 trees, inventory their metadata, and scaffold new trees from templates.

latest
Source
npmnpm
Version
0.2.0
Version published
Maintainers
1
Created
Source

okforest

The OKForest CLI: validate, inventory, and scaffold Open Knowledge Format (OKF) v0.2 trees.

npx okforest validate .                 # exit 1 on errors; warnings never fail
npx okforest validate . --format json   # for CI and tools
npx okforest inventory .                # types, tags, keys, near-duplicates
npx okforest init sales-okf --template company --owner jane@acme.example

To also check D2 and Mermaid diagram syntax, install the optional packages alongside it:

npx -p okforest -p @d2lang/d2 -p mermaid okforest validate .

Rules, options, and what counts as a concept: see the OKForest CLI README.

Apache-2.0 · © Preneur LLC · okforest.ai

Keywords

okf

FAQs

Package last updated on 12 Oct 2026

Related posts