@textlint/ast-node-types v14.0.4
@textlint/ast-node-types
The definition for textlint AST Node types.
This module for parse plugin.
For more details, see TxtNode document.
Installation
npm install @textlint/ast-node-types
Usage
import { ASTNodeTypes } from "@textlint/ast-node-types";
console.log(ASTNodeTypes.Document); // => string
Type interface for TxtNode
This library include type interface of TxtNode. TypeScript user can use it as type of TxtNode.
// type interface
import { TxtNode } from "@textlint/ast-node-types";
For parser creator
Please use it for creating your textlint-plugin parser.
Use it by
- textlint internal
@textlint/text-to-ast
@textlint/markdown-to-ast
Versioning
- major: Breaking Change
- minor: Adding new type
- patch: Fixing issues
Tests
npm test
Contributing
If you want to new type for AST, Please file issue :)
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
License
MIT
2 months ago
2 months ago
3 months ago
3 months ago
3 months ago
3 months ago
5 months ago
10 months ago
6 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
7 years ago
7 years ago
7 years ago
7 years ago