@lando-labs/lando-ds-meta
v0.59.1
Published
Self-describing metadata (components, tokens, icons, capabilities) for the Lando Labs Design System — zero-dependency JSON for AI grounding.
Downloads
42
Maintainers
Readme
@lando-labs/lando-ds-meta
The self-describing metadata for a released build of the Lando Labs Design System — components, design tokens, icon registry, package exports, and capability flags — as plain JSON with zero runtime dependencies.
Your AI assistant (Cursor, Claude Code, Copilot) grounds itself against this one blob in milliseconds instead of scraping HTML docs.
- Versioning: this package's version tracks the DS release it was
built from (currently
0.59.1). For the schema/validator, install@lando-labs/lando-ds-meta-schema(versioned by$schemaVersion, currently1.3).
Install
npm install @lando-labs/lando-ds-metaPublished publicly on npm.
Usage
import meta from '@lando-labs/lando-ds-meta' // light shape
import verbose from '@lando-labs/lando-ds-meta/verbose' // + descriptions/examples
import type { Meta } from '@lando-labs/lando-ds-meta/types'
console.log(meta.$schemaVersion, Object.keys(meta.components).length)Validate it against the schema (optional, needs the schema package):
import { validate } from '@lando-labs/lando-ds-meta-schema/validate'
import meta from '@lando-labs/lando-ds-meta'
const { valid, errors } = validate(meta)Exports
| Subpath | What |
| --- | --- |
| . | meta.json (light) |
| ./verbose | meta.verbose.json (adds descriptions, examples, composes) |
| ./schema | vendored meta-schema.json |
| ./types | TypeScript type declarations only |
Links
- Design System repo: https://github.com/lando-labs/lando-ds
- Schema package: @lando-labs/lando-ds-meta-schema
