@textlint/ast-node-types
textlint AST node type definition.
Last updated 5 years ago by azu .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @textlint/ast-node-types 
SYNC missed versions from official npm registry.

@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 :)

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

License

MIT

Current Tags

  • 12.0.0-beta.3                                ...           beta (5 years ago)
  • 4.1.0-alpha.0f2fd6f9                                ...           canary (8 years ago)
  • 12.1.0                                ...           latest (4 years ago)
  • 3.0.0-next.0                                ...           next (8 years ago)

35 Versions

  • 12.1.0                                ...           4 years ago
  • 12.0.0                                ...           5 years ago
  • 12.0.0-beta.3                                ...           5 years ago
  • 12.0.0-beta.1                                ...           5 years ago
  • 12.0.0-beta.0                                ...           5 years ago
  • 4.4.3                                ...           5 years ago
  • 4.4.2                                ...           5 years ago
  • 4.4.1                                ...           5 years ago
  • 4.4.0                                ...           5 years ago
  • 4.3.5                                ...           5 years ago
  • 4.3.4                                ...           6 years ago
  • 4.3.3                                ...           6 years ago
  • 4.3.2                                ...           6 years ago
  • 4.3.1                                ...           6 years ago
  • 4.3.0                                ...           6 years ago
  • 4.2.5                                ...           6 years ago
  • 4.2.4                                ...           7 years ago
  • 4.2.3                                ...           7 years ago
  • 4.2.2                                ...           7 years ago
  • 4.2.1                                ...           7 years ago
  • 4.2.0                                ...           7 years ago
  • 4.1.0                                ...           7 years ago
  • 4.0.3                                ...           8 years ago
  • 4.1.0-alpha.0f2fd6f9                                ...           8 years ago
  • 4.1.0-alpha.bbfc8f6d                                ...           8 years ago
  • 4.0.2                                ...           8 years ago
  • 4.0.1                                ...           8 years ago
  • 4.0.0                                ...           8 years ago
  • 3.0.1                                ...           8 years ago
  • 3.0.0                                ...           8 years ago
  • 3.0.0-next.0                                ...           8 years ago
  • 2.0.0                                ...           8 years ago
  • 2.0.0-beta.0                                ...           8 years ago
  • 1.2.0-alpha.6a53d00c                                ...           8 years ago
  • 1.1.2                                ...           9 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (6)

Copyright 2013 - present © cnpmjs.org | Home |