# retext-latin [![Build][build-badge]][build] [![Coverage][coverage-badge]][coverage] [![Downloads][downloads-badge]][downloads] [![Size][size-badge]][size] [![Sponsors][sponsors-badge]][collective] [![Backers][backers-badge]][collective] [![Chat][chat-badge]][chat] [**retext**][retext] plugin to parse Latin-script natural language. [Parser][] for [**unified**][unified]. Parses Latin-script prose to [**nlcst**][nlcst] syntax trees. ## Sponsors Support this effort and give back by sponsoring on [OpenCollective][collective]!
Gatsby 🥇

Vercel 🥇

Netlify

Holloway

ThemeIsle

Boost Hub

Expo


You?

## Install This package is [ESM only](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c): Node 12+ is needed to use it and it must be `import`ed instead of `require`d. [npm][]: ```sh npm install retext-latin ``` ## Use ```js import {unified} from 'unified' import {stream} from 'unified-stream' import retextLatin from 'retext-latin' import retextStringify from 'retext-stringify' import retextEmoji from 'retext-emoji' const processor = unified() .use(retextLatin) .use(retextEmoji, {convert: 'encode'}) .use(retextStringify) process.stdin.pipe(stream(processor)).pipe(process.stdout) ``` ## API This package exports the following identifiers: `Parser`. `retextLatin` is the default export. ### `unified().use(retextLatin)` Parse Latin-script natural language. There is no configuration for the parser. ### `Parser` Access to the [parser][] ([`parse-latin`][parse-latin]). ## Contribute See [`contributing.md`][contributing] in [`retextjs/.github`][health] for ways to get started. See [`support.md`][support] for ways to get help. Ideas for new plugins and tools can be posted in [`retextjs/ideas`][ideas]. A curated list of awesome retext resources can be found in [**awesome retext**][awesome]. This project has a [code of conduct][coc]. By interacting with this repository, organization, or community you agree to abide by its terms. ## License [MIT][license] © [Titus Wormer][author] [build-badge]: https://github.com/retextjs/retext/workflows/main/badge.svg [build]: https://github.com/retextjs/retext/actions [coverage-badge]: https://img.shields.io/codecov/c/github/retextjs/retext.svg [coverage]: https://codecov.io/github/retextjs/retext [downloads-badge]: https://img.shields.io/npm/dm/retext-latin.svg [downloads]: https://www.npmjs.com/package/retext-latin [size-badge]: https://img.shields.io/bundlephobia/minzip/retext-latin.svg [size]: https://bundlephobia.com/result?p=retext-latin [sponsors-badge]: https://opencollective.com/unified/sponsors/badge.svg [backers-badge]: https://opencollective.com/unified/backers/badge.svg [collective]: https://opencollective.com/unified [chat-badge]: https://img.shields.io/badge/chat-discussions-success.svg [chat]: https://github.com/retextjs/retext/discussions [health]: https://github.com/retextjs/.github [contributing]: https://github.com/retextjs/.github/blob/main/contributing.md [support]: https://github.com/retextjs/.github/blob/main/support.md [coc]: https://github.com/retextjs/.github/blob/main/code-of-conduct.md [ideas]: https://github.com/retextjs/ideas [awesome]: https://github.com/retextjs/awesome-retext [license]: https://github.com/retextjs/retext/blob/main/license [author]: https://wooorm.com [npm]: https://docs.npmjs.com/cli/install [unified]: https://github.com/unifiedjs/unified [retext]: https://github.com/retextjs/retext [nlcst]: https://github.com/syntax-tree/nlcst [parser]: https://github.com/unifiedjs/unified#processorparser [parse-latin]: https://github.com/wooorm/parse-latin