JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 107656
  • Score
    100M100P100Q168630F
  • 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 Coverage Downloads Size Chat

Parser for unified. Parses the English language to nlcst syntax trees.


Announcing the unified collective! ๐ŸŽ‰ Read more about it on Medium ยป

Sponsors



๐Ÿฅ‡ ZEIT


๐Ÿฅ‡ Gatsby


๐Ÿฅ‰ Compositor


Holloway




You?

Installation

npm:

npm install retext-english

Usage

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

var processor = unified()
  .use(english)
  .use(emoji, {convert: 'encode'})
  .use(stringify)

process.stdin.pipe(stream(processor)).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 (parse-english).

License

MIT ยฉ Titus Wormer