@rsql/parser
v1.6.0
Published
RSQL Parser
Downloads
33,230
Readme
@rsql/parser
RSQL parser for Node.js and Browsers
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 theparse
functionSyntaxError
- in the case of any problems encountered during parsing
License
MIT