{"name":"@textlint/ast-node-types","version":"4.1.0-alpha.bbfc8f6d","description":"textlint AST node type definition.","keywords":["textlint"],"license":"MIT","author":{"name":"azu"},"files":["lib/","src/"],"main":"./lib/index.js","types":"./lib/index.d.ts","repository":{"type":"git","url":"https://github.com/textlint/textlint.git"},"scripts":{"build":"cross-env NODE_ENV=production tsc -p .","clean":"rimraf lib/","prepublish":"npm run build","test":"mocha \"test/**/*.{js,ts}\""},"devDependencies":{"cross-env":"^5.1.3","mocha":"^5.1.1","rimraf":"^2.6.2","ts-node":"^7.0.0","ts-node-test-register":"^4.0.0","typescript":"~2.8.4"},"readmeFilename":"README.md","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","_id":"@textlint/ast-node-types@4.1.0-alpha.bbfc8f6d","dist":{"shasum":"9911a94c7d1e265bd93adf42f641ac24a811d643","tarball":"http://registry-npm.ywwl.com/@textlint/ast-node-types/download/@textlint/ast-node-types-4.1.0-alpha.bbfc8f6d.tgz","fileCount":12,"unpackedSize":10638,"integrity":"sha512-nMmiW2LEXjCf2XVUmNehGOHXMPsAtlslMLCV59WnYe2NcstjOyM6gQdvEH58AO9gbeBxXp6UXOpgdni/Frjafg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA9nWLMUtlaAZuet2gZYrv7VupC/KstkEXXuY1SnBlFdAiEAockkWYGJh0mVO6+MdIDfLfn05YmozGmnDBdSHFG92Dg="}],"size":3380,"noattachment":false,"key":"/@textlint/ast-node-types/-/@textlint/ast-node-types-4.1.0-alpha.bbfc8f6d.tgz"},"maintainers":[{"email":"0x6b.npmjs@gmail.com","name":"0x6b"},{"email":"azuciao@gmail.com","name":"azu"},{"email":"azuciao+textlint@gmail.com","name":"textlint-user"}],"_npmUser":{"name":"azu","email":"azuciao@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ast-node-types_4.1.0-alpha.bbfc8f6d_1531715199593_0.020889579713998074"},"_hasShrinkwrap":false,"publish_time":1531715199737,"_cnpm_publish_time":1531715199737,"dist-tags":{"beta":"12.0.0-beta.3","canary":"4.1.0-alpha.0f2fd6f9","latest":"15.8.0","next":"13.4.2-next.0"}}