@zhangcbrian/sps-core
v0.3.1
Published
sps core engine — interpret, deduplicate, validate, scan, coverage
Readme
@zhangcbrian/sps-core
Shared library for the sps project — interpret, deduplicate, validate, scan, and report on structured specs.
This package is the engine that powers @zhangcbrian/sps-cli and the sps portal. Most users want the CLI directly:
npm install -g @zhangcbrian/sps-cliProgrammatic use
import { loadConfig, loadSpecs, buildManifest, lintSpecs } from "@zhangcbrian/sps-core";
const config = loadConfig(process.cwd());
const specs = loadSpecs(process.cwd());
const manifest = buildManifest(specs, config);
const findings = lintSpecs(specs);See the project README for the full module surface, schema, and conventions.
License
MIT
