JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 106174
  • Score
    100M100P100Q172091F
  • License MIT

retext parser for the English language

Package Exports

  • retext-english

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (retext-english) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

retext-english Build Status Coverage Status Chat

Parser for unified. Parses the English language to an NLCST syntax tree.

Installation

npm:

npm install retext-english

Usage

var unified = require('unified');
var english = require('retext-english');
var stringify = require('retext-stringify');
var emoji = require('retext-emoji');

process.stdin
  .pipe(unified())
  .use(english)
  .use(emoji, {convert: 'encode'})
  .use(stringify)
  .pipe(process.stdout);

Table of Contents

API

processor.use(english)

Configure the processor to read English text as input.

There is no configuration for the parser.

english.Parser

Access to the parser (wooorm/parse-english).

License

MIT © Titus Wormer