🚀 Big News:Socket Has Acquired Secure Annex.Learn More →
Socket
Book a DemoSign in
Socket

retext-stringify

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

retext-stringify

NLCST to text compiler for retext

Source
npmnpm
Version
2.0.0
Version published
Weekly downloads
2.6M
9.21%
Maintainers
1
Weekly downloads
 
Created
Source

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

Keywords

natural

FAQs

Package last updated on 23 Feb 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts