How to use @textlint/text-to-ast - 1 common examples

To help you get started, we’ve selected a few @textlint/text-to-ast examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github textlint / textlint / packages / @textlint / textlint-plugin-text / src / TextProcessor.js View on Github external
preProcess(text, filePath) {
                return parse(text);
            },
            postProcess(messages, filePath) {

@textlint/text-to-ast

Parse plain text to AST with location info.

MIT
Latest version published 1 month ago

Package Health Score

86 / 100
Full package analysis

Popular @textlint/text-to-ast functions