{"name":"@textlint/ast-node-types","version":"12.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 \"test/**/*.{js,ts}\""},"devDependencies":{"cross-env":"^7.0.3","mocha":"^9.2.2","rimraf":"^3.0.2","ts-node":"^10.8.1","ts-node-test-register":"^10.0.0","typescript":"~4.4.4"},"gitHead":"e14b6e6ae685dabfca3c8c3f2a33c2029fce8724","bugs":{"url":"https://github.com/textlint/textlint/issues"},"homepage":"https://github.com/textlint/textlint#readme","_id":"@textlint/ast-node-types@12.2.0","_nodeVersion":"16.15.0","_npmVersion":"lerna/4.0.0/node@v16.15.0+arm64 (darwin)","dist":{"integrity":"sha512-qPftsrJVLGq58S9TyEPfLCw2FNghurJ31GVIjvHDUR4+/DFAKTuCBo99xbJjh4eWkweMO4IfZWQfbSt7beqpTQ==","shasum":"4ee6a72a82c3b68b0ac68a0d190e30948d64be03","tarball":"http://registry-npm.ywwl.com/@textlint/ast-node-types/download/@textlint/ast-node-types-12.2.0.tgz","fileCount":17,"unpackedSize":26347,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDH+0NOCw1PXbEoTdKuXWAZulJhoMbCAP0ez24XM69kIQIgJr7n6CYtrdVMmAc/gtQs6hbuM+oR1fVt+wm8Slf+jbY="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJitqyAACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmruVBAAhomOvJpo6mTCkuQgypQOstcWvdeyKyWSGSyCa3bEzPugU9Hq\r\nIpxqr6DG+PfZjq1CMn6JKH0vNE/j4+QZcdU6ZNEjkqQ4Ah04HsgO7phtSm9T\r\nRohRuWo/WDh4TdwyCgR/hpZ6KQaKK+iLXOdZzjqSjU8w3hwzG2m59tpRy8Sq\r\ngtTMzhYSH7IAfIYduyvFL4607mhJv5hegbmUXFvSAHWYXjPW8guhe97NEqsu\r\nNxcQ4qe17hH1K7k9PigENGgm4//+JSRrWr9e0TOmRnoTpYot4Y0L14mr93Hl\r\nVG7isMGBPJarrmmpwssnsSu/uKiwR+MN+EWexLBlaQqDyKoI4XQU2ECqBB7/\r\n1MZ2DJb+SoOuZkapzGSE7wKbQr+CoGvX2xprVVHn9UAzhgV5VZMmGx+cUr4K\r\n7Q2zAYVN/DOpwuXYj0uKBLKZ8jEZKGgQQTzQSUcXJ5KwwdCIQczcOaBMstaw\r\nVsOqeSJmVRruqO+ZnCIl40aMXA39Iqc+GCC3W2vu2ot0NFIGHR7GGu4TEUIs\r\nT92yPDHl1v2vK9QGUY8VvIf5Pofw4KSsJTzd6DFc7cKd86siRmAsSdeG7sPb\r\nvAtM/CXX8zD3PIirIFOswFgbmpKOgi9Bu8MugP9WskLBH58maqSPnCUnDVaO\r\npFP4NFWYygDpS8xWvUPBn3YtK6+Ohfy/7Tg=\r\n=Cn3U\r\n-----END PGP SIGNATURE-----\r\n","size":4793,"noattachment":false,"key":"/@textlint/ast-node-types/-/@textlint/ast-node-types-12.2.0.tgz"},"_npmUser":{"name":"azu","email":"azuciao@gmail.com"},"directories":{},"maintainers":[{"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.2.0_1656138880301_0.5617842917542115"},"_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":1656138880510,"_cnpm_publish_time":1656138880510,"dist-tags":{"beta":"12.0.0-beta.3","canary":"4.1.0-alpha.0f2fd6f9","latest":"15.8.0","next":"13.4.2-next.0"}}