tap-yaml
TypeScript icon, indicating that this package has built-in type declarations

2.2.2 • Public • Published

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.
  2. omap and set are configured to refer to Map and Set objects.
  3. Objects with a null prototype maintain their null-prototyped-ness.

/tap-yaml/

    Package Sidebar

    Install

    npm i tap-yaml

    Weekly Downloads

    137,652

    Version

    2.2.2

    License

    BlueOak-1.0.0

    Unpacked Size

    21.9 kB

    Total Files

    53

    Last publish

    Collaborators

    • isaacs