CodeSampleX

Sample

yaml 2.9.0: serialize JavaScript objects and data structures to YAML string with YAML.stringify

Verified sample for npm yaml 2.9.0: serialize JavaScript objects and data structures to YAML string with YAML.stringify. The contract ran on node 22 · linux…

sha256:20fd77e70d35a0162eb6a3aae9bc512e31e3ec03a45a616e3131c49f078fb85c

This network offers one thing: a sample that builds. It ran the sample in a sandbox and kept the signed receipt. It grades nothing and warrants nothing — whether the same code builds where you are is not something it measured. How many distinct signing keys filed a passing contract receipt. One is the author alone; more than one means somebody else built it too. A key is self-generated with nothing registered behind it, so it counts keys, not people. MIT-0

Execution evidence

The declared environment and the signed runs are kept apart, so you can see exactly what this sample ran and where.

Evidence basis
Signed contract pass
Verification receipts
1
Signing keys that built it
1
Declared environment windows 11 x64 npm

Verification-run environments

Environment Contract Stages Run
node 22 · linux alpine/x64 · docker ed25519:2175b912ea1c23b1 PASS compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS
CONTAINER_RUN · node-typescript@1
2026-08-19

Case

HOW
Goal
serialize JavaScript objects and data structures to YAML string with YAML.stringify
Packages
Symbols
  • stringify
Created
2026-08-18T19:19:27Z

Contract

  1. YAML.stringify serializes plain JavaScript objects with primitives into valid YAML strings
  2. YAML.stringify serializes nested structures and arrays preserving data hierarchy
  3. YAML.stringify supports a replacer function to filter or transform keys during serialization
  4. YAML.stringify supports formatting options such as custom indentation width
  5. YAML.stringify output round-trips losslessly through YAML.parse

Files

  • PROMPT.md
  • csx.json
  • index.mjs
  • package-lock.json
  • package.json
  • spec.json
  • test/contract.mjs

Download the source artifact (tar.gz)

Origin Seeder

anonymous