@rsql/parser
TypeScript icon, indicating that this package has built-in type declarations

1.6.0 • Public • Published

@rsql/parser

RSQL parser for Node.js and Browsers

npm lerna code style: prettier commitizen friendly tested with jest auto release

Installation

# with npm
npm install --save @rsql/parser

# with yarn
yarn add @rsql/parser

API

parse(source: string): ExpressionNode

Parses RSQL string and returns Abstract Syntax Tree. It can throw the following errors:

  • TypeError - in the case of invalid argument type passed to the parse function
  • SyntaxError - in the case of any problems encountered during parsing

License

MIT

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @rsql/parser

    Weekly Downloads

    5,347

    Version

    1.6.0

    License

    MIT

    Unpacked Size

    75 kB

    Total Files

    8

    Last publish

    Collaborators

    • piotr-oles