{"name":"@textlint/ast-node-types","version":"15.1.0","keywords":["textlint"],"author":"azu","license":"MIT","_id":"@textlint/ast-node-types@15.1.0","maintainers":[{"name":"azu","email":"azuciao@gmail.com"},{"name":"0x6b","email":"npm_mytidhfqd7ncqnr73yfj@warpnine.io"},{"name":"textlint-user","email":"azuciao+textlint@gmail.com"}],"dist":{"shasum":"64cd2b0a70213ab9c82dd8f6a72021b5869a29ad","tarball":"http://registry-npm.ywwl.com/@textlint/ast-node-types/download/@textlint/ast-node-types-15.1.0.tgz","fileCount":23,"integrity":"sha512-R7laalVk8drfbHDrbRNRHXibmqQLB+s3mVgb2lWliivNrylX1oviz+vB9TT5SRur6PIEJJ54L4WV3gBlJETB5Q==","signatures":[{"sig":"MEQCIGpfLsgYcW8EzSFqy2BM0bbM+G4FgaTW6BjGJaPYdb3dAiAPlWniBqbVVlbqrb6VPqRJxNwt98CB8vs/DVYlKq/Q7w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":43431,"size":8601,"noattachment":false,"key":"/@textlint/ast-node-types/-/@textlint/ast-node-types-15.1.0.tgz"},"main":"./lib/src/index.js","type":"commonjs","types":"./lib/src/index.d.ts","gitHead":"86a95c9f2ebfca072699aa93cf1a965f23765ec9","scripts":{"test":"vitest run","build":"tsc -b","clean":"rimraf lib/","prepack":"npm run build","test:watch":"vitest watch"},"_npmUser":{"name":"textlint-user","actor":{"name":"textlint-user","type":"user","email":"azuciao+textlint@gmail.com"},"email":"azuciao+textlint@gmail.com"},"repository":{"url":"https://github.com/textlint/textlint.git","type":"git"},"_npmVersion":"lerna/8.2.2/node@v22.16.0+x64 (linux)","description":"textlint AST node type definition.","directories":{},"_nodeVersion":"22.16.0","_hasShrinkwrap":false,"devDependencies":{"rimraf":"^6.0.1","vitest":"^3.2.4","typescript":"~5.8.3","@types/node":"^22.15.32"},"_npmOperationalInternal":{"tmp":"tmp/ast-node-types_15.1.0_1751209729426_0.2229870401449665","host":"s3://npm-registry-packages-npm-production"},"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":1751209729605,"_cnpm_publish_time":1751209729605,"dist-tags":{"beta":"12.0.0-beta.3","canary":"4.1.0-alpha.0f2fd6f9","latest":"15.8.0","next":"13.4.2-next.0"}}