{"name":"@textlint/ast-node-types","version":"14.2.0","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"},"devDependencies":{"mocha":"^10.7.0","rimraf":"^3.0.2","ts-node":"^10.9.2","typescript":"~5.3.3"},"gitHead":"9e57c912a437ef7c933e996d7b2d68cc2c7fdad6","bugs":{"url":"https://github.com/textlint/textlint/issues"},"homepage":"https://github.com/textlint/textlint#readme","_id":"@textlint/ast-node-types@14.2.0","_nodeVersion":"18.20.4","_npmVersion":"lerna/7.4.2/node@v18.20.4+x64 (linux)","dist":{"integrity":"sha512-dOnBuqvsmiNkhHHp1ZaZed1uwvDpVNZWGvZlrckWaJpzsrTTNtxtd627MkMRCdGvIT3+RkfmV9OHqh51JfexRg==","shasum":"18602786a5a643a60c068252aaed932f30e0fbd3","tarball":"http://registry-npm.ywwl.com/@textlint/ast-node-types/download/@textlint/ast-node-types-14.2.0.tgz","fileCount":42,"unpackedSize":142765,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICa/qooW7HiFBT6v/9kz5anlYWDZ6066NkPl4m39qAO9AiBaks09+eg6huadka8xm1sfW2iH0GqZQGG+1djrhFsMug=="}],"size":34428,"noattachment":false,"key":"/@textlint/ast-node-types/-/@textlint/ast-node-types-14.2.0.tgz"},"_npmUser":{"name":"textlint-user","email":"azuciao+textlint@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ast-node-types_14.2.0_1723955481674_0.17670459509378622"},"_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":1723955481859,"maintainers":[{"name":"textlint-user","email":"azuciao+textlint@gmail.com"},{"name":"azu","email":"azuciao@gmail.com"},{"name":"0x6b","email":"npm_mytidhfqd7ncqnr73yfj@warpnine.io"}],"_cnpm_publish_time":1723955481859,"dist-tags":{"beta":"12.0.0-beta.3","canary":"4.1.0-alpha.0f2fd6f9","latest":"15.8.0","next":"13.4.2-next.0"}}