Socket
Socket
Sign inDemoInstall

retext-stringify

Package Overview
Dependencies
1
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    retext-stringify

nlcst to text compiler for retext


Version published
Weekly downloads
280K
increased by16.49%
Maintainers
1
Install size
12.7 kB
Created
Weekly downloads
 

Readme

Source

retext-stringify Build Coverage Downloads Size Chat

Compiler for unified. Stringifies nlcst syntax trees to text. Used in the retext processor but can be used on its own as well.


Announcing the unified collective! 🎉 Read more about it on Medium »

Sponsors



🥇 ZEIT


🥇 Gatsby


🥉 Compositor


Holloway




You?

Installation

npm:

npm install retext-stringify

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

Configure the processor to stringify nlcst syntax trees to text.

There is no configuration for the parser.

License

MIT © Titus Wormer

Keywords

FAQs

Last updated on 17 Nov 2018

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc