Have ideas to improve npm?Join in the discussion! »

    retext-latin

    2.0.4 • Public • Published

    retext-latin

    Build Coverage Downloads Size Sponsors Backers Chat

    retext plugin to parse Latin-script natural language. Parser for unified. Parses Latin-script prose to nlcst syntax trees.

    Sponsors



    🥇 ZEIT


    🥇 Gatsby


    🥇 Netlify


    Holloway




    You?

    Read more about the unified collective on Medium »

    Install

    npm:

    npm install retext-latin

    Use

    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)

    API

    processor.use(latin)

    Parse Latin-script natural language. There is no configuration for the parser.

    latin.Parser

    Access to the parser (parse-latin).

    Contribute

    See contributing.md in retextjs/.github for ways to get started. See support.md for ways to get help. Ideas for new plugins and tools can be posted in retextjs/ideas.

    A curated list of awesome retext resources can be found in awesome retext.

    This project has a Code of Conduct. By interacting with this repository, organisation, or community you agree to abide by its terms.

    License

    MIT © Titus Wormer

    Install

    npm i retext-latin

    DownloadsWeekly Downloads

    30,146

    Version

    2.0.4

    License

    MIT

    Unpacked Size

    5.56 kB

    Total Files

    3

    Last publish

    Collaborators

    • avatar