tap-yaml

Yaml handling for TAP parsers and generators

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
tap-yaml
402.2.05 days ago5 years agoMinified + gzip package size for tap-yaml in KB

Readme

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.
  1. Everything from yaml-types is
included by default.
  1. omap and set are configured to refer to Map and Set objects.
  2. Objects with a null prototype maintain their null-prototyped-ness.