{"name":"yaml-unist-parser","version":"1.0.0","description":"A YAML parser that produces output compatible with unist","keywords":["unist","yaml"],"main":"lib/index.js","types":"lib/index.d.ts","repository":{"type":"git","url":"git+https://github.com/ikatyang/yaml-unist-parser.git"},"homepage":"https://github.com/ikatyang/yaml-unist-parser#readme","author":{"name":"Ika","email":"ikatyang@gmail.com","url":"https://github.com/ikatyang"},"license":"MIT","scripts":{"fix-types":"replace '(orig(Start|End))\\?:' '$1:' node_modules/@types/yaml/index.d.ts","prepublish":"yarn run fix-types && yarn run build","lint":"tslint -p ./tsconfig.json","test":"jest","prebuild":"rm -rf ./lib","build":"tsc -p ./tsconfig.build.json","release":"standard-version"},"dependencies":{"lines-and-columns":"^1.1.6","tslib":"^1.9.1"},"devDependencies":{"@types/jest":"23.3.9","@types/node":"6.14.2","@types/yaml":"1.0.0","jest":"23.6.0","jest-snapshot-serializer-raw":"1.1.0","prettier":"1.15.2","replace":"1.0.0","standard-version":"4.4.0","ts-jest":"23.10.4","tslint":"5.11.0","tslint-config-prettier":"1.16.0","tslint-plugin-prettier":"2.0.1","typescript":"3.1.6","yaml":"1.0.2"},"peerDependencies":{"yaml":"^1.0.2"},"engines":{"node":">= 6"},"gitHead":"0469053ce8367f1b83d7cd07dd540f1d1c4e5d35","bugs":{"url":"https://github.com/ikatyang/yaml-unist-parser/issues"},"_id":"yaml-unist-parser@1.0.0","_npmVersion":"6.1.0","_nodeVersion":"8.11.1","_npmUser":{"name":"ikatyang","email":"ikatyang@gmail.com"},"dist":{"integrity":"sha512-DwXEmBpyopgf8YT8uOB7ry+7kuv4ECXDw2+1DipfHK29zwuUUskW+rFO7sgKULK0ddCi6TY09tFFxBc6Vftg5w==","shasum":"060def481d2319a8def3b6a06cb8ae3848b0aed3","tarball":"http://registry-npm.ywwl.com/yaml-unist-parser/download/yaml-unist-parser-1.0.0.tgz","fileCount":160,"unpackedSize":87137,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb7Xy7CRA9TVsSAnZWagAAtEQQAKHFI0O5CGTXaNZeawNO\npC6Eeilt/0OA1d9T0TLERJYZuL1wXV3UeV5Jl9rhJGullnAGAAMtUs1cWyVS\nhSxzCaEY+5F4+7sSBC9OGr6fPKKVRUAlAEZbDx0W3E/qSUFhoHOjUxHntx4E\npWbDCkSCFyYPkCYiBlpO3OzbMTiztKOk7STUmpHmRZhf1LgnJog7PGpSxQBA\n5sMBkId8xCe1bmK2r6GD6CM486DTNEz7upBdcfGP0SI8NoDviJIVVvZFVjz9\nh88jhz9gjwPmR/9Q+REQWHkWOvPDNnkBStOUpqZ09xy4yi6en7lWR/M5EBcJ\npZatunSpzc+E5RWvTpKXypZ8CMhELYWvKCNdpFjV/xO1cJBRJIXnNJ3xKcle\nQHEJOT2RL/I101Aj3DO/Y+lPbtQcvaZQptcBpZu0r2880LIkVhR2AZHnqjdk\nGIbhltiF2p1HrrS5G4mLJYryPF4EBjQNAVL4B64hLmRtmE8KYcB6r4BRmpre\nFR/UFiJyOqUzZcoYcBfPe3jXBB89LsA+bso2HUoo1+umLwRluRdDpRf+vtzn\ncmEi3xKOXS0ovyVdTCBFZcBoklrS/57GdDX1o/MxBwimNNzpcsBYVSn1fzlg\nFsK0/UAdHIb3KHOsXOOJZ3edlmNIrPsFRZplgjKszzSQfnjpR2V+vvJVDywo\nWEem\r\n=gpYk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC3/S0m7hI/eIPl+SbzG2Qc99tEw5kdMz2jXialUynyowIhAO5L8IlPsAjtXspWRi/YzvR/qSIX3jBOdefBzB+ZNBvp"}],"size":20689,"noattachment":false,"key":"/yaml-unist-parser/-/yaml-unist-parser-1.0.0.tgz"},"maintainers":[{"name":"ikatyang","email":"ikatyang@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/yaml-unist-parser_1.0.0_1542290619026_0.8677040457925735"},"_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":1542290619234,"_cnpm_publish_time":1542290619234,"dist-tags":{"latest":"3.2.1"}}