{"name":"@textlint/ast-node-types","version":"15.7.1","keywords":["textlint"],"author":{"name":"azu"},"license":"MIT","_id":"@textlint/ast-node-types@15.7.1","maintainers":[{"name":"azu","email":"azuciao@gmail.com"},{"name":"textlint-user","email":"azuciao+textlint@gmail.com"}],"homepage":"https://github.com/textlint/textlint#readme","bugs":{"url":"https://github.com/textlint/textlint/issues"},"dist":{"shasum":"20f3f9111d735be70831be61ccb3e8d4420a8c71","tarball":"http://registry-npm.ywwl.com/@textlint/ast-node-types/download/@textlint/ast-node-types-15.7.1.tgz","fileCount":23,"integrity":"sha512-Wii5UgUKFEh9Uv6wbq1zr4/Kf+dtjiUuzPrrXzKp8H+ifkvKNzi23V4Nz+6wVyHQn5T28AFuc8VH8OtzvGYecA==","signatures":[{"sig":"MEUCIBcBTdXUgOcH4g9fjSghB0zudj0AP+weWBdHO1QcTsXFAiEAgxBU3reNq3lx5RbIdqxzU8YrAisf0eDpQiDY7TEHo1Y=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@textlint%2fast-node-types@15.7.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":45577,"size":8684,"noattachment":false,"key":"/@textlint/ast-node-types/-/@textlint/ast-node-types-15.7.1.tgz"},"main":"./lib/src/index.js","type":"commonjs","types":"./lib/src/index.d.ts","gitHead":"91ffc5947325f0a9d0500b889550a1b4d232f5f1","scripts":{"test":"vitest run","build":"tsc -b","clean":"rimraf lib/","prepack":"npm run build","test:watch":"vitest watch"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b202966d-94b3-4576-8d55-f25fc6cd7397"}},"repository":{"url":"git+https://github.com/textlint/textlint.git","type":"git"},"_npmVersion":"lerna/4.11.5/node@v22.22.2+x64 (linux)","description":"textlint AST node type definition.","directories":{},"_nodeVersion":"22.22.2","_hasShrinkwrap":false,"devDependencies":{"rimraf":"^6.1.3","vitest":"^3.2.4","typescript":"~5.8.3","@types/node":"^24.12.4"},"_npmOperationalInternal":{"tmp":"tmp/ast-node-types_15.7.1_1779066601323_0.5556033623460195","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":1779066601457,"_cnpm_publish_time":1779066601457,"dist-tags":{"beta":"12.0.0-beta.3","canary":"4.1.0-alpha.0f2fd6f9","latest":"15.8.0","next":"13.4.2-next.0"}}