{"_id":"js-yaml@5.3.0","bin":{"js-yaml":"bin/js-yaml.mjs"},"bugs":{"url":"https://github.com/nodeca/js-yaml/issues"},"dist":{"shasum":"526430a6da31065127528ae695ce168cfc5f91f0","tarball":"http://registry-npm.ywwl.com/js-yaml/download/js-yaml-5.3.0.tgz","fileCount":13,"integrity":"sha512-muutsYr+e2+d3rTgUGslq5rxbBlUy3cJ61IsHag2QNDQV+7zXWjkUpmALIajhrlLlrgRUiymj6U3zUr/TMK84Q==","signatures":[{"sig":"MEYCIQDIviXGTopjkrnEPUoyLV6MYHG9LqQ/u0eAE48wF1cGpQIhANOtOzDS5YKbQlelnhfhBZ7O9yHEtlXwtgs14KL4y7rE","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDH5WtpWXQW3m43tXfEmlb5B8VBhR2Y3DGj452h4QPdrAIgU/72xna1TZ0+Bbnt22GV/+43pPHL7Cx14XBwboAW7kk="}],"unpackedSize":1556633,"size":365803,"noattachment":false,"key":"/js-yaml/-/js-yaml-5.3.0.tgz"},"main":"./dist/js-yaml.cjs.js","name":"js-yaml","types":"./dist/js-yaml.d.ts","author":{"name":"Vladimir Zapparov","email":"dervus.grim@gmail.com"},"module":"./dist/js-yaml.mjs","exports":{".":{"types":"./dist/js-yaml.d.ts","import":"./dist/js-yaml.mjs","require":"./dist/js-yaml.cjs.js"},"./browser":{"types":"./dist/js-yaml.d.ts","import":"./dist/browser/js-yaml.esm.min.mjs","default":"./dist/browser/js-yaml.umd.min.js","require":"./dist/browser/js-yaml.umd.min.js"},"./package.json":"./package.json"},"funding":[{"url":"https://github.com/sponsors/puzrin","type":"github"},{"url":"https://github.com/sponsors/nodeca","type":"github"}],"gitHead":"04db45830b9ef92454b409eca80ec80ae9b2701a","license":"MIT","scripts":{"doc":"typedoc","demo":"npm run lint && node support/build_demo.mjs && npm run doc","lint":"eslint .","test":"npm run lint && npm run build && npm run type-check && npm run spec:get && node --test 'test/core/**/*.test.mjs' 'test/spec/*.test.mjs'","build":"node support/build-dist.mjs","prepack":"npm test && npm run build && npm run demo","coverage":"npm run build && npm run spec:get && c8 --include 'dist/js-yaml.mjs' --include 'src/**' -r text -r html -r lcov node --test 'test/core/**/*.test.mjs' 'test/spec/*.test.mjs'","lint-fix":"eslint . --fix","spec:get":"node support/get-yaml-test-suite.mjs","test:spec":"npm run build && npm run spec:get && node test/spec/spec.test.mjs","type-check":"tsc --noEmit","postpublish":"npm run demo:publish","spec:update":"node support/get-yaml-test-suite.mjs update","demo:publish":"npm run demo && gh-pages -d demo -f","benchmark:deps":"npm install --prefix benchmark/extra/"},"version":"5.3.0","_npmUser":{"name":"vitaly","email":"vitaly@rcopen.com"},"homepage":"https://github.com/nodeca/js-yaml#readme","keywords":["yaml","parser","serializer","pyyaml"],"repository":{"url":"git+https://github.com/nodeca/js-yaml.git","type":"git"},"_npmVersion":"11.13.0","description":"YAML 1.2 parser and serializer","directories":{},"maintainers":[{"name":"vitaly","email":"vitaly@rcopen.com"}],"_nodeVersion":"24.16.0","contributors":[{"url":"http://www.ixti.net/","name":"Aleksey V Zapparov","email":"ixti@member.fsf.org"},{"url":"https://github.com/puzrin","name":"Vitaly Puzrin","email":"vitaly@rcdesign.ru"},{"url":"http://got-ravings.blogspot.com","name":"Martin Grenfell","email":"martin.grenfell@gmail.com"}],"dependencies":{"argparse":"^2.0.1"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^11.0.0","vite":"^8.1.2","eslint":"^9.39.4","mitata":"^1.0.34","rollup":"^4.62.2","typedoc":"^0.28.19","gh-pages":"^6.3.0","codemirror":"^5.65.21","fast-check":"^4.8.0","typescript":"^6.0.3","workerpool":"^10.0.3","@types/node":"^24.12.2","neostandard":"^0.13.0","rollup-plugin-dts":"^6.4.1","@streamparser/json":"^0.0.22","vite-plugin-singlefile":"^2.3.3","vite-plugin-node-polyfills":"^0.28.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/js-yaml_5.3.0_1786699899785_0.17350528431164736"},"readme":"# js-yaml\n\n[![CI](https://github.com/nodeca/js-yaml/actions/workflows/ci.yml/badge.svg)](https://github.com/nodeca/js-yaml/actions/workflows/ci.yml)\n[![NPM version](https://img.shields.io/npm/v/js-yaml.svg)](https://www.npmjs.org/package/js-yaml)\n\n> YAML 1.2 parser and serializer for JavaScript.\n\n__[Online demo](https://nodeca.github.io/js-yaml/)__\n\n- Supports the YAML 1.2 and YAML 1.1 specifications.\n- Passes the entire [YAML Test Suite](https://github.com/yaml/yaml-test-suite).\n\n\n> [!NOTE]\n> If you are upgrading from v4, see the [v5 migration guide](docs/migrate_v4_to_v5.md).\n\n### [Documentation >>](https://nodeca.github.io/js-yaml/doc/)\n\n\n##### Install\n\n```bash\nnpm install js-yaml\n```\n\n\n##### Usage\n\n```js\nimport { load } from 'js-yaml'\n\ntry {\n  const document = load('greeting: hello')\n  console.log(document.greeting)\n} catch (e) {\n  console.error(e)\n}\n```\n\n```js\nimport { dump } from 'js-yaml'\n\nconst source = dump({ greeting: 'hello' })\nconsole.log(source)\n```\n\n[More usage examples](docs/usage.md).\n","publish_time":1786699899879,"_cnpm_publish_time":1786699899879,"dist-tags":{"latest":"5.5.0","v3-legacy":"3.15.2","v4-legacy":"4.3.2"}}