{"name":"@textlint/ast-node-types","version":"12.0.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/","prepublish":"npm run build","test":"mocha \"test/**/*.{js,ts}\""},"devDependencies":{"cross-env":"^7.0.3","mocha":"^8.4.0","rimraf":"^3.0.2","ts-node":"^9.1.1","ts-node-test-register":"^9.0.1","typescript":"~4.2.4"},"gitHead":"8b4fc20f5fb4d8e581bdcecff510d83e7701faa9","bugs":{"url":"https://github.com/textlint/textlint/issues"},"homepage":"https://github.com/textlint/textlint#readme","_id":"@textlint/ast-node-types@12.0.0","_nodeVersion":"14.16.1","_npmVersion":"lerna/4.0.0/node@v14.16.1+x64 (darwin)","dist":{"integrity":"sha512-qUjmlpz1vR3AStBA9RPDCVT0/pGtePvBJ5Vb/0PzTrnr04iFktG6P6B1VOmgTh8J9Kl/FonQFo3A9M1Q3UH+JA==","shasum":"23bd683f9fc04209ae28bff72954c8aa67c6b1ca","tarball":"http://registry-npm.ywwl.com/@textlint/ast-node-types/download/@textlint/ast-node-types-12.0.0.tgz","fileCount":17,"unpackedSize":26252,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgqyNeCRA9TVsSAnZWagAAUb8QAJ4KOQE5iWOJcwJ8lmap\nDH4mBKyh+E/1mYZURRq+1PgyoUQXlXZYXji2rR1duMRvSTIVGgMbvtUqbnP8\nDrviQ9FZGXB4GrklcE0xAKMJS9qhWxAOHXZjQIEw3SNj+eKTHOK9aXzw/ab1\n06RmDqqDDBAuqE64iHUnPu+ImnYS2kmTtzPbNf5dAorKVed58lMCgngtNflE\nygSWgnryqYcfOBGMHb61Ddgb6BqSpVy1xlMENnD1bkkS9mMdtJPSL4340o9s\nLVNbs6csPTT4EYcnrVwaWGjy4A2bEhP5EYHhM8WtyFd0AdhuHMooNoFpqciK\niEB9Aqnu7CEh2alEVtfsg8E0Ws15EhCD9NR05RDu0h9tv6sEVd7GTYrHC1nc\nPdbLAwkkhyowXE2lK7W0YGLE4dPj/asnX+dzt58yOxDQyMv2/pOZbwtX/MkY\nnbrCgjdxmFeqQ3MnYcrmj6Z0XAQ1gCtnhAVmJeT35RDf/maTN1Cp3jcMjpnr\nbysqiqFfq6dNCukwpFTQ4RZTCeqe0jd9b/XcqlHlrpAt6jU4kFyi41R64B60\nXWrjheVUCZD2RkuTtUVziU9nlKQ28vvsn5mCzHMWB2ceI88HHBRgMKZcvnGU\n+rZQYBJkLwx5BWrnmRVlJ3XprRaClCbCoYiPmP06RIEn0o9Xeguz++YeGSHl\n6EVd\r\n=U6Vl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICzSbv0NxQ4fV02sdbVAYjVQ8pGzeKGo9PXhW9yWuIgMAiEAgT1ESvWrpuyRIDQRvow16IB9pWBtICBPw6vV7ldDaTQ="}],"size":4781,"noattachment":false,"key":"/@textlint/ast-node-types/-/@textlint/ast-node-types-12.0.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.0.0_1621828446092_0.2893710788939181"},"_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":1621828446251,"_cnpm_publish_time":1621828446251,"dist-tags":{"beta":"12.0.0-beta.3","canary":"4.1.0-alpha.0f2fd6f9","latest":"15.8.0","next":"13.4.2-next.0"}}