{"name":"yaml-unist-parser","version":"2.0.1","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":"5dffe35e7b9b8a45a0b7a4a542dbb2c4b21ddd43","bugs":{"url":"https://github.com/prettier/yaml-unist-parser/issues"},"_id":"yaml-unist-parser@2.0.1","_nodeVersion":"18.8.0","_npmVersion":"7.9.0","dist":{"integrity":"sha512-SpgobpXX6nodBqAuVuU5zz6veNBDICfr4t3j+brFJtQrfmFjD5HsaDR1v2aDIUemSkc3mbA5Ghkp7LyfpPv+qw==","shasum":"1536e0ed0603a346f95244b7fb0c74f5ca74a2ca","tarball":"http://registry-npm.ywwl.com/yaml-unist-parser/download/yaml-unist-parser-2.0.1.tgz","fileCount":164,"unpackedSize":89517,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHvyymeHsGPiG5EGAJBanX+KRy1IT9l0TTIkydcozU8qAiEAmP3DE7n/h0wtXkoViLly13JUs3FCN6uSIV9bSbkxCt4="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjSRZzACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrb5A//bKiJZUPY5h5Iwmh9rwo6kgYXnvAmSZuT/IvUKoaLCwJtwElk\r\neuT3zPXY63qi/AxN1Su/EGFGB9tc68tMebGLn1fqidWzTjVI9TS9fCgligV7\r\nwvo8oKLpmXrsGqHYIwEsgL5Zn/BctYFMqSf9tOv96IimF09KaE/PGS57jck9\r\noQYMDqChbkOQ1Zbzcvm++toCf/c3IHmRAS0z5h1G+BMKbiT+jFRYcKjPgzOi\r\nVZX//UYhM5ffqqFcZZDIkIT4ljYNPOiSklMnds8zpf0RdFxghrv5jtVbOPOG\r\nIQTrii36NTxpN8s+SpLav9PCQ98eYIyj1FtSSMRllKi4GAdi8PGBZKfUA7yG\r\n1RyLGsCo7jsJUMk1r8U05CZd4hFRlPqCOgYi4ScIylwM4BxKzYUUQwg3D0fc\r\nT9QAG2Ojavkrn2fOO53VG2fOTfiWlMKgyer22wJV9E7W2KxBDUamJUN67c+Y\r\nWA8a8NcSKebPDExrXF390ou+PJ/jeY2EV0h8hw1lE6mGm41C1draUPMo4T4k\r\nfVRC95wA251ylcMsnVuwALXngZW5d4m//D4MMEuRnaC/4B3tKNuRtIoWWvkd\r\ny4nHvb0YYagFl3hCyYgTdUPco4EkLdmUAjZvh6mwC5806FWe8gWrLMcFom6W\r\nk9TamiiUoi61aOCwI2CWsMNsxRAKWSIdDTk=\r\n=Uw9p\r\n-----END PGP SIGNATURE-----\r\n","size":21142,"noattachment":false,"key":"/yaml-unist-parser/-/yaml-unist-parser-2.0.1.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.1_1665734258914_0.8010864050785791"},"_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":1665734259169,"_cnpm_publish_time":1665734259169,"dist-tags":{"latest":"3.2.1"}}