{"name":"yaml-unist-parser","version":"2.0.0","description":"A YAML parser that produces output compatible with unist","keywords":["unist","yaml"],"type":"module","types":"lib/index.d.ts","exports":{".":"./lib/index.js","./*":"./"},"repository":{"type":"git","url":"git+https://github.com/prettier/yaml-unist-parser.git"},"homepage":"https://github.com/prettier/yaml-unist-parser#readme","author":{"name":"Ika","email":"ikatyang@gmail.com","url":"https://github.com/ikatyang"},"license":"MIT","scripts":{"prepublish":"patch-package && yarn run build","lint":"run-p lint:*","lint:eslint":"eslint --ext=.ts,.cjs,.mjs .","lint:prettier":"prettier --check src","fix":"run-s fix:*","fix:eslint":"yarn lint:eslint --fix","fix:prettier":"yarn lint:prettier --write","test":"node --experimental-vm-modules node_modules/jest/bin/jest.js","prebuild":"rm -rf ./lib","build":"tsc -p ./tsconfig.build.json","release":"yarn build && standard-version"},"dependencies":{"lines-and-columns":"^2.0.3","tslib":"^2.4.0","yaml":"^1.10.0"},"devDependencies":{"@types/jest":"29.1.2","@types/node":"18.8.5","@typescript-eslint/eslint-plugin":"5.40.0","@typescript-eslint/parser":"5.40.0","eslint":"8.25.0","eslint-config-prettier":"8.5.0","eslint-plugin-import":"2.26.0","jest":"29.1.2","jest-snapshot-serializer-raw":"1.2.0","npm-run-all":"4.1.5","patch-package":"6.4.7","prettier":"2.7.1","standard-version":"9.5.0","ts-jest":"29.0.3","typescript":"4.8.4"},"engines":{"node":">= 14"},"gitHead":"4cd94c1f02f935fe462e924f83fc30834f1226b4","bugs":{"url":"https://github.com/prettier/yaml-unist-parser/issues"},"_id":"yaml-unist-parser@2.0.0","_nodeVersion":"18.8.0","_npmVersion":"7.9.0","dist":{"integrity":"sha512-BEqM3s2xZMiqCnEA4bPzns9n+rjWWaUWK932RLj91GZWqsgqvgVD2P8sjMXrFCf1kL13tHTM9HtycvM2cAKWoA==","shasum":"a8d51b5a6f9b955187202bea9c38ddc5ec8bd9cc","tarball":"http://registry-npm.ywwl.com/yaml-unist-parser/download/yaml-unist-parser-2.0.0.tgz","fileCount":164,"unpackedSize":89171,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDlDh5uY981vh/Uwcs6C4o8NqWEZPITVZEVr9ZbGK8MXQIhAKW0xHPMS/k+bVnCda8aNaGgYO3/vgQ/So3TJNxL9TKS"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjSQfdACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrsdg/9GehR/WV+doZhX4/MxJ7g1QtUfQtZa7+PVp5HDzzIN20d1l5a\r\nPfbIPlBxaNau1nGERxU/8NCxEOPlRB1Sc8LFuWoieVRxFv7cLui/LZivQmV+\r\nrCC1F4WOy5LmBo6UbxesxEujTzU4FGHD9HbfuDWSVqFMaQaKE/LTEoEojmNo\r\ntBCAzEaA74WCHCGQ1s7AL0ORnjyBBUrMWXiCqbAWWzf96FAyIInfoNZhVZV9\r\n1hMo5x9FfqMrRYHq4xX1tXCKkDNiEfIOQtDOkzAkiC6yhRPA9/QEHzr0GZB5\r\niLjUmRl15GkGE85GHxEJRa8L/jyDkrXmkCM4tnRJw9Pat17WNFaD7El9UMn2\r\nhTZTM82xrqEOgPtqiT5J9nODkUxkIp1yE+ugnRNoQEQ0eVmnLz7HEFR+lpfV\r\nSBNe9UxHOF7HseMDQxFhBM6seKuaAUrTbknxSYDX/jF9rBdBmuUYUnCAoYfe\r\nCQTkVtsmcFrB9mTKvxYhd5gk7uqRpXzOMII4iLzPBV/JoBVcV4UL1j9ycqLG\r\nW9qOwylcKzMPYHuD4VsCqrSrcceKUSfa/bzyLuHduyAwXusWvrzLD/iCQl6D\r\nF5u/h/Sirp/jpJVkG8UeAhOriqRgh4mmbqNXt4Qa+YgGy+UDCEvr2VYGhw36\r\n+afy3Bpl/W99ElaH73aWlDzUmohlZYY9+/0=\r\n=y3LR\r\n-----END PGP SIGNATURE-----\r\n","size":21031,"noattachment":false,"key":"/yaml-unist-parser/-/yaml-unist-parser-2.0.0.tgz"},"_npmUser":{"name":"fisker","email":"lionkay@gmail.com"},"directories":{},"maintainers":[{"name":"thorn0","email":"georgii.dolzhykov@gmail.com"},{"name":"fisker","email":"lionkay@gmail.com"},{"name":"ikatyang","email":"ikatyang@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/yaml-unist-parser_2.0.0_1665730525215_0.15655336336142067"},"_hasShrinkwrap":false,"readme":"# yaml-unist-parser\n\n[![npm](https://img.shields.io/npm/v/yaml-unist-parser.svg)](https://www.npmjs.com/package/yaml-unist-parser)\n[![build](https://img.shields.io/github/workflow/status/prettier/yaml-unist-parser/CI)](https://github.com/prettier/yaml-unist-parser/actions?query=workflow%3ACI+branch%3Amain)\n[![coverage](https://img.shields.io/codecov/c/github/prettier/yaml-unist-parser/main.svg)](https://codecov.io/gh/prettier/yaml-unist-parser)\n\nA YAML parser that produces output compatible with [unist](https://github.com/syntax-tree/unist)\n\n[Changelog](https://github.com/ikatyang/yaml-unist-parser/blob/master/CHANGELOG.md)\n\n## Features\n\n- better node positioning\n- better comment attaching\n- [unist-compatible AST](https://github.com/ikatyang/yaml-unist-parser/blob/master/src/types.ts)\n\n## Install\n\n```sh\n# using npm\nnpm install --save yaml-unist-parser\n\n# using yarn\nyarn add yaml-unist-parser\n```\n\n## Usage\n\n```ts\nimport { parse } from \"yaml-unist-parser\";\n\nconst ast = parse(`\n- hello\n- world\n`);\n```\n\n## Development\n\n```sh\n# lint\nyarn run lint\n\n# build\nyarn run build\n\n# test\nyarn run test\n```\n\n## License\n\nMIT © [Ika](https://github.com/ikatyang)\n","publish_time":1665730525393,"_cnpm_publish_time":1665730525393,"dist-tags":{"latest":"3.2.1"}}