@creoit.com/design-md-core
v0.6.5
Published
Framework detection, token extraction, and brief building for design-md-generator
Readme
@creoit.com/design-md-core
Internal package: framework detection, token extraction, brief building, and DESIGN.md file utilities for @creoit.com/design-md.
Most users
You probably want the CLI, not this package directly:
npm i @creoit.com/design-mdSee the CLI's README for the full workflow.
Programmatic API
Useful if you're embedding DESIGN.md generation into another tool. The package exposes:
import {
detect, // framework detection
extractAll, // run all matching extractors
extractTailwindV3,
extractTailwindV4,
extractCssVars,
buildBrief, // markdown agent brief
parseDesignMd, // split YAML front matter from body
serializeDesignMd, // emit DESIGN.md from tokens + body
scaffoldBody, // default placeholder body
mergeTokens, // merge extracted into existing
} from '@creoit.com/design-md-core';All functions are pure / file-system-reading; none invoke an LLM.
Source
github.com/varunsat/design.md-generator (packages/core)
License
MIT © Creo IT
