JSPM

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

NLCST to text compiler for retext

Package Exports

  • retext-stringify

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-stringify) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

retext-stringify Build Status Coverage Status Chat

Compiler for unified. Stringifies an nlcst syntax tree to text. Used in the retext processor.

Installation

npm:

npm install retext-stringify

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(stringify)

Configure the processor to stringify nlcst syntax trees to text.

There is no configuration for the parser.

License

MIT © Titus Wormer