{"name":"@textlint/ast-node-types","version":"12.5.2","description":"textlint AST node type definition.","keywords":["textlint"],"repository":{"type":"git","url":"git+https://github.com/textlint/textlint.git"},"license":"MIT","author":{"name":"azu"},"main":"./lib/src/index.js","module":"./module/src/index.js","types":"./lib/src/index.d.ts","scripts":{"build":"tsc -b && tsc -b tsconfig.module.json","clean":"rimraf lib/ module/","prepack":"npm run build","test":"mocha \"test/**/*.{js,ts}\""},"devDependencies":{"cross-env":"^7.0.3","mocha":"^9.2.2","rimraf":"^3.0.2","ts-node":"^10.9.1","ts-node-test-register":"^10.0.0","typescript":"~4.9.4"},"gitHead":"22754513d33810cd3bbaf5670026b862b77963a0","bugs":{"url":"https://github.com/textlint/textlint/issues"},"homepage":"https://github.com/textlint/textlint#readme","_id":"@textlint/ast-node-types@12.5.2","_nodeVersion":"18.13.0","_npmVersion":"lerna/6.4.1/node@v18.13.0+x64 (linux)","dist":{"integrity":"sha512-gbdYTpWEqHxnqwPVvhHfMdSmeKegevLs7/v+pZiGSPADnTFV1VKXz4xbpOswcNi6Wu5DTyDglJoC07kVB7KTHg==","shasum":"02dcc62f69f8d1549d32f09987bdaed825ab4b01","tarball":"http://registry-npm.ywwl.com/@textlint/ast-node-types/download/@textlint/ast-node-types-12.5.2.tgz","fileCount":23,"unpackedSize":100086,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEqV/kWR26xAgyxA1wqHUiyuku2hMjZNQuiXmJIo1SQeAiAxVFzgKIo3q7RSiEwtn7T7CosyY+SlM/7cLBNOl3Xkzg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjy/u+ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrx9Q/+O2YU1iZygxv6s9Q6QfytY2M3435/UeBneHa9QBHnh2lyeuju\r\nDRReWjRBgHhgknflYmOAUm6ybm9IyjvjWpT/3og1WhaMX4LiGuEWopGMLi2m\r\nJDfOVGzZ4drZ7OlwqSzMVkXpCxem9paL96EcuvfYGHO/+5q8RhPafVnlL3ay\r\nHGENfW1boG45NDjYwVzo2tEd4i269B6a6I09fscDavWo/BmiaNVS2Oq9Xu6m\r\ny6cFWljNlvow4/vW9gC9oCO2KjHhpJiV+7s59/ojinfhLYYkWRSpna0lJYUp\r\nT478WNbZQ4Ek7GlE+immTYnaYqrty3QRPhJYMQu8JLya1uG+F9cShNIuXIgU\r\nQC0D4747LdRekEa1/8xGrP7DkOqV5r/bHC2ojESQ7w5kaaKvkNwV+aFOLkcL\r\n/pIrCXLiB8k5sOaUNl98p3eR9ijsJohpk3dNty1foEI6A6rpb5Ug2A2Udx77\r\nAeX04QDkyaEoT96iSiNb5G3gYfWpWL1q7ukg9IjyEtN83/VZCJdoXIJ/n5/V\r\nih/g3wiq9Yg6UWwW2te8V3BTBDG3puS00s2gMm2jIYntXJF4hffPZrjQpU50\r\nSN3HjXhpOExgEaMMYDK4Jvy7MZING7gxDFeOpGjblOPXZqn6qYykrQVg1ktk\r\nLOj5hNSzUSlvq+4RhL9bURM90xNjUYjlSRw=\r\n=R4a8\r\n-----END PGP SIGNATURE-----\r\n","size":25476,"noattachment":false,"key":"/@textlint/ast-node-types/-/@textlint/ast-node-types-12.5.2.tgz"},"_npmUser":{"name":"textlint-user","email":"azuciao+textlint@gmail.com"},"directories":{},"maintainers":[{"name":"textlint-user","email":"azuciao+textlint@gmail.com"},{"name":"azu","email":"azuciao@gmail.com"},{"name":"0x6b","email":"0x6b.npmjs@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ast-node-types_12.5.2_1674312637896_0.18123331594058034"},"_hasShrinkwrap":false,"readme":"# @textlint/ast-node-types\n\nThe definition for textlint AST Node types.\n\nThis module for parse plugin.\n\n\nFor more details, see [TxtNode document](https://github.com/textlint/textlint/blob/master/docs/txtnode.md).\n\n## Installation\n\n    npm install @textlint/ast-node-types\n\n## Usage\n\n```js\nimport { ASTNodeTypes } from \"@textlint/ast-node-types\";\nconsole.log(ASTNodeTypes.Document); // => string\n```\n\n### Type interface for TxtNode\n\nThis library include type interface of [TxtNode](https://github.com/textlint/textlint/blob/master/docs/txtnode.md).\nTypeScript user can use it as type of TxtNode.\n\n```ts\n// type interface\nimport { TxtNode } from \"@textlint/ast-node-types\";\n\n```\n\n\n## For parser creator\n\nPlease use it for creating your textlint-plugin parser.\n\nUse it by\n\n- textlint internal\n- `@textlint/text-to-ast`\n- `@textlint/markdown-to-ast`\n\n## Versioning\n\n- major: Breaking Change\n- minor: Adding new type\n- patch: Fixing issues\n\n## Tests\n\n    npm test\n\n## Contributing\n\nIf you want to new type for AST, Please file issue :)\n\n1. Fork it!\n2. Create your feature branch: `git checkout -b my-new-feature`\n3. Commit your changes: `git commit -am 'Add some feature'`\n4. Push to the branch: `git push origin my-new-feature`\n5. Submit a pull request :D\n\n## License\n\nMIT\n","publish_time":1674312638104,"_cnpm_publish_time":1674312638104,"dist-tags":{"beta":"12.0.0-beta.3","canary":"4.1.0-alpha.0f2fd6f9","latest":"15.8.0","next":"13.4.2-next.0"}}