@rsql/emitter

RSQL Emitter

Usage no npm install needed!

<script type="module">
  import rsqlEmitter from 'https://cdn.skypack.dev/@rsql/emitter';
</script>

README

@rsql/emitter

RSQL emitter for Node.js and Browsers

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

Installation

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

# with yarn
yarn add @rsql/emitter

API

emit(expression: ExpressionNode): string

Emits RSQL string from the Abstract Syntax Tree. It can throw the following errors:

  • TypeError - in the case of invalid argument type passed to the emit function

License

MIT