Licence
BlueOak-1.0.0
Version
4.4.2
Deps
2
Size
22 kB
Vulns
0
Weekly
0
tap-yaml
Yaml handling for JavaScript TAP parsers and generators
USAGE
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.
- Everything from yaml-types is included by default.
omapandsetare configured to refer to Map and Set objects.- Objects with a
nullprototype maintain their null-prototyped-ness.