{"name":"@textlint/ast-node-types","version":"4.0.1","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":"git+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":"^4.0.1","rimraf":"^2.6.2","ts-node":"^4.1.0","typescript":"^2.6.2"},"bugs":{"url":"https://github.com/textlint/textlint/issues"},"homepage":"https://github.com/textlint/textlint#readme","_id":"@textlint/ast-node-types@4.0.1","_npmVersion":"5.5.1","_nodeVersion":"9.2.1","_npmUser":{"name":"azu","email":"azuciao@gmail.com"},"maintainers":[{"email":"0x6b.npmjs@gmail.com","name":"0x6b"},{"email":"azuciao@gmail.com","name":"azu"},{"email":"azuciao+textlint@gmail.com","name":"textlint-user"}],"dist":{"integrity":"sha512-M/BeiUjWXGrSzGIRy1qVzGEDFZFa5QoSCh9Go8R5Qauhu8Rpd4b1MKb8QbR4XmUdjiT4BP/xZKwzB4897JD5dA==","shasum":"7a051bf87b33d592c370a9fa11f6b72a14833fdc","tarball":"http://registry-npm.ywwl.com/@textlint/ast-node-types/download/@textlint/ast-node-types-4.0.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDjhAUxZSFnb6lIrap2Vd4+XUpzp/U12jfX5Rp/ud+gzQIhAN+t/E6WgYZmG/dvyJm08duliwIRnhtwBniYKnNRaAok"}],"size":3149,"noattachment":false,"key":"/@textlint/ast-node-types/-/@textlint/ast-node-types-4.0.1.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ast-node-types-4.0.1.tgz_1516286594417_0.37194414250552654"},"directories":{},"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":1516286594632,"_cnpm_publish_time":1516286594632,"dist-tags":{"beta":"12.0.0-beta.3","canary":"4.1.0-alpha.0f2fd6f9","latest":"15.8.0","next":"13.4.2-next.0"}}