{"name":"js-yaml","version":"4.3.0","keywords":["yaml","parser","serializer","pyyaml"],"author":{"name":"Vladimir Zapparov","email":"dervus.grim@gmail.com"},"license":"MIT","_id":"js-yaml@4.3.0","maintainers":[{"name":"vitaly","email":"vitaly@rcopen.com"}],"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"}],"homepage":"https://github.com/nodeca/js-yaml#readme","bugs":{"url":"https://github.com/nodeca/js-yaml/issues"},"bin":{"js-yaml":"bin/js-yaml.js"},"dist":{"shasum":"d1900572a7f7cf0b5f540c83673e60bad3436592","tarball":"http://registry-npm.ywwl.com/js-yaml/download/js-yaml-4.3.0.tgz","fileCount":36,"integrity":"sha512-1td788aAnnZ5qs7V2QIRl1owjtYpbKt749Y3xauqQgwIIGF/xXWz1wMTEBx5O3LK3lXLVuqXPdPxj2BoFHaW9Q==","signatures":[{"sig":"MEUCIAiY5s5GxvZQgjA/+BQ0YaaiOQgK5ieSXe3FcVnirr5MAiEA3dlwFMv0ziE0Q2fbfe0BawL+PjVBKepDBgQZhzzstE0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":957572,"size":226823,"noattachment":false,"key":"/js-yaml/-/js-yaml-4.3.0.tgz"},"unpkg":"dist/js-yaml.min.js","module":"./dist/js-yaml.mjs","exports":{".":{"import":"./dist/js-yaml.mjs","require":"./index.js"},"./package.json":"./package.json"},"funding":[{"url":"https://github.com/sponsors/puzrin","type":"github"},{"url":"https://github.com/sponsors/nodeca","type":"github"}],"gitHead":"33d05b5d29a8c21360f620f7e1c1706e24522eda","scripts":{"lint":"eslint .","test":"npm run lint && npm run test:core && npm run test:build","build":"node support/build-dist.mjs","gh-demo":"npm run build:demo && gh-pages -d demo -f","prepack":"npm test && npm run build","coverage":"npm run build && c8 --include 'lib/**' -r text -r html -r lcov node --test test/core/*.test.*","lint-fix":"eslint . --fix","test:core":"node --test test/core/*.test.*","build:demo":"npm run lint && node support/build_demo.mjs","test:build":"npm run build && node --test test/build/*.test.*"},"_npmUser":{"name":"vitaly","email":"vitaly@rcopen.com"},"jsdelivr":"dist/js-yaml.min.js","repository":{"url":"git+https://github.com/nodeca/js-yaml.git","type":"git"},"_npmVersion":"11.13.0","description":"YAML 1.2 parser and serializer","directories":{},"_nodeVersion":"24.16.0","dependencies":{"argparse":"^2.0.1"},"publishConfig":{"tag":"v4-legacy"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"c8":"^11.0.0","vite":"7.3.6","eslint":"^9.39.4","gh-pages":"^6.3.0","tinybench":"^6.0.2","codemirror":"^5.65.21","fast-check":"^4.8.0","workerpool":"^10.0.2","@babel/core":"8.0.1","neostandard":"^0.13.0","@babel/preset-env":"8.0.1","@rollup/plugin-terser":"0.4.4","vite-plugin-singlefile":"^2.3.3","@rollup/plugin-commonjs":"29.0.3","vite-plugin-node-polyfills":"^0.28.0"},"_npmOperationalInternal":{"tmp":"tmp/js-yaml_4.3.0_1782512940682_0.2251337069166237","host":"s3://npm-registry-packages-npm-production"},"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":1782512940874,"_cnpm_publish_time":1782512940874,"dist-tags":{"latest":"5.5.0","v3-legacy":"3.15.2","v4-legacy":"4.3.2"}}