$ gnpm install tap-yaml
Yaml handling for JavaScript TAP parsers and generators
import { parse, stringify } from 'tap-yaml'
const str = stringify(someObject)
const obj = parse(someString)
This is essentially a re-export of the yaml package, with a few custom types and default properties to be more suitable for use in tap.
omap
and set
are configured to refer to Map and Set objects.null
prototype maintain their null-prototyped-ness.Copyright 2013 - present © cnpmjs.org | Home |