@teages/c2chart
v0.0.3
Published
Parse a C2 chart into a structured and type safe object with useful utilities.
Downloads
3
Readme
@teages/c2chart
Parse a C2 chart into a structured and type safe object with useful utilities.
Usage
Install package:
zod
is a peer dependency, you need to install it manually.
# npm
npm install @teages/c2chart zod
# yarn
yarn add @teages/c2chart zod
# pnpm
pnpm install @teages/c2chart zod
# bun
bun install @teages/c2chart zod
Import:
// ESM
import { verifyChart } from '@teages/c2chart'
// CommonJS
const { verifyChart } = require('@teages/c2chart')
Development
- Clone this repository
- Install latest LTS version of Node.js
- Enable Corepack using
corepack enable
- Install dependencies using
pnpm install
- Run interactive tests using
pnpm dev
License
Published under MIT License.