{"name":"@textlint/ast-node-types","version":"14.6.0","keywords":["textlint"],"author":"azu","license":"MIT","_id":"@textlint/ast-node-types@14.6.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":"3a61744a62d7089c8c8221104dfe4a62fe3d650b","tarball":"http://registry-npm.ywwl.com/@textlint/ast-node-types/download/@textlint/ast-node-types-14.6.0.tgz","fileCount":39,"integrity":"sha512-PqWpzFa64M5uKqBSQPV8wPqo14zvmz5JXWIIUkVCMQ/gN8/8IrXjpsp0O+/To8u5D5woVpxihBi/3nJdR8E37g==","signatures":[{"sig":"MEUCIHJhYcFncVZQ+NAid0MUQYStpcUlvZD8Fpe9mNlPmyEWAiEA5UMsGzCthFpQ6jil8YgPwA2/8KqcgeYnpkFOYYU1laQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":69070,"size":9541,"noattachment":false,"key":"/@textlint/ast-node-types/-/@textlint/ast-node-types-14.6.0.tgz"},"main":"./lib/src/index.js","type":"commonjs","types":"./lib/src/index.d.ts","module":"./module/src/index.js","gitHead":"95df8c106b26481548bb4181ff1811938d30d882","scripts":{"test":"mocha","build":"tsc -b && tsc -b tsconfig.module.json","clean":"rimraf lib/ module/","prepack":"npm run build"},"_npmUser":{"name":"textlint-user","email":"azuciao+textlint@gmail.com"},"repository":{"url":"https://github.com/textlint/textlint.git","type":"git"},"_npmVersion":"lerna/8.2.1/node@v18.20.7+x64 (linux)","description":"textlint AST node type definition.","directories":{},"_nodeVersion":"18.20.7","_hasShrinkwrap":false,"devDependencies":{"mocha":"^10.8.1","rimraf":"^3.0.2","ts-node":"^10.9.2","typescript":"~5.3.3"},"_npmOperationalInternal":{"tmp":"tmp/ast-node-types_14.6.0_1743487282344_0.1636438537344258","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":1743487282532,"_cnpm_publish_time":1743487282532,"dist-tags":{"beta":"12.0.0-beta.3","canary":"4.1.0-alpha.0f2fd6f9","latest":"15.8.0","next":"13.4.2-next.0"}}