yaml-unist-parser
v2.0.1
Published
A YAML parser that produces output compatible with unist
Downloads
154,411
Readme
yaml-unist-parser
A YAML parser that produces output compatible with unist
Features
- better node positioning
- better comment attaching
- unist-compatible AST
Install
# using npm
npm install --save yaml-unist-parser
# using yarn
yarn add yaml-unist-parser
Usage
import { parse } from "yaml-unist-parser";
const ast = parse(`
- hello
- world
`);
Development
# lint
yarn run lint
# build
yarn run build
# test
yarn run test
License
MIT © Ika