basic-parser
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

basic-parser

An extremely basic token-based parser

Examples

import basicParser from 'basic-parser'

const renderers = [/* ... */]
const render = basicParser({ renderers })

const text = 'Any string with tokens recognized by the renderers'
const tree = render({ text })

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.0.0
    315
    • latest

Version History

Package Sidebar

Install

npm i basic-parser

Weekly Downloads

422

Version

2.0.0

License

MIT

Unpacked Size

81 kB

Total Files

13

Last publish

Collaborators

  • amsul