tap-yaml

Yaml handling for TAP parsers and generators

BlueOak-1.0.0 31 个版本
安装
npm install tap-yaml
yarn add tap-yaml
pnpm add tap-yaml
bun add tap-yaml
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.
  2. omap and set are configured to refer to Map and Set objects.
  3. Objects with a null prototype maintain their null-prototyped-ness.
版本列表
4.4.2 2026-05-01
4.4.1 2026-04-17
4.4.0 2026-04-15
4.3.1 2026-04-05
4.3.0 2025-12-01
4.2.0 2025-11-25
4.1.0 2025-11-25
4.0.2 2025-11-01
4.0.1 2025-10-02
4.0.0 2024-07-08
3.0.0 2024-06-24
2.2.2 2024-03-26
2.2.1 2023-10-31
2.2.0 2023-09-27
2.1.1-3 2023-09-13
2.1.1-2 2023-09-03
2.1.1-1 2023-08-04
2.1.1 2023-09-15
2.1.0 2023-05-25
2.0.1 2023-05-25
2.0.0 2023-05-24
1.0.2 2022-11-10
1.0.1 2022-11-10
1.0.0 2019-04-06
0.4.0 2019-04-06
0.3.0 2019-03-21
0.2.0 2019-03-10
0.1.0 2019-03-07
0.0.2 2019-02-20
0.0.1 2019-02-19
0.0.0 2019-01-27