npm

Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript.Learn more »

retext-latin

2.0.2 • Public • Published

retext-latin Build Coverage Downloads Size Chat

Parser for unified. Parses Latin-script language to nlcst syntax trees. 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-latin

Usage

var unified = require('unified')
var stream = require('unified-stream')
var latin = require('retext-latin')
var stringify = require('retext-stringify')
var emoji = require('retext-emoji')
 
var processor = unified()
  .use(latin)
  .use(emoji, {convert: 'encode'})
  .use(stringify)
 
process.stdin.pipe(stream(processor)).pipe(process.stdout)

Table of Contents

API

processor.use(latin)

Configure the processor to read Latin-script text as input.

There is no configuration for the parser.

latin.Parser

Access to the parser (parse-latin).

License

MIT © Titus Wormer

install

npm i retext-latin

Downloadsweekly downloads

32,975

version

2.0.2

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability