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

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