Skip to content

prettier/yaml-unist-parser

Repository files navigation

yaml-unist-parser

npm build coverage

A YAML parser that produces output compatible with unist

Changelog

Features

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