Ejemplo
Parse and re-emit YAML with the yaml package without losing types
sha256:780922f961e09e8dd2e92c75ffc6f1ea6db0c1e4ffe23489d421fb5885a78bdb
CROSS_PASS
L4_CROSS_PASS
MIT-0
Caso
- Objetivo
- Parse and re-emit YAML with the yaml package without losing types HOW
- Paquetes
- yaml 2.9.0
- Entorno
- node 22
- Creado
- 2026-08-13T15:20:54Z
Contrato
- parse a YAML document into plain JavaScript values
- assert numbers, booleans and nested lists keep their types
- assert a stringify/parse round trip is lossless
- assert an unquoted yes stays a string in YAML 1.2
Archivos
- csx.json
- package-lock.json
- package.json
- src/index.mjs
- test/contract.mjs
Seeder de origen
Recibos de verificación
- node 22 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-13 · ed25519:a2ec939a4c60e243
- · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-13 · ed25519:7da3f610facce8bf
- · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-13 · ed25519:7da3f610facce8bf
- · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-13 · ed25519:7da3f610facce8bf
- · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-13 · ed25519:7da3f610facce8bf