Skip to content

Latest commit

 

History

History
62 lines (42 loc) · 2.94 KB

README.md

File metadata and controls

62 lines (42 loc) · 2.94 KB

UCAST - Universal Conditions AST

build CASL codecov UCAST join the chat

ucast is a low level library that helps to create awesome things! It aims to be a universal way to represent a set of conditions that can be transferred between APIs and databases.

Terms

To get introduction about what is parser, interpreter, conditions AST and translator, please check the README file of @ucast/core

What can I do with it?

  1. You can translate an HTTP request query string into SQL, Mongo, ElasticSearch or anything you can imagine.
  2. You can execute MongoDB query in javascript runtime
  3. You can create an expressive query builder for SQL

Generally speaking, ucast can help you to transfer conditions somewhere or interpret them in any way.

Ecosystem

All packages support nodejs 8+ and ES5 compatible browsers (IE 9+)

Project Status Description
@ucast/core @ucast/core-status conditions AST and helpers
@ucast/js @ucast/js-status ucast JavaScript interpreter
@ucast/mongo @ucast/mongo-status MongoDB query parser
@ucast/mongo2js @ucast/mongo2js-status Evaluates MongoDB query in JavaScript runtime
@ucast/sql @ucast/sql-status SQL query interpreter + integrations with major ORMs

Want to help?

Want to file a bug, contribute some code, or improve documentation? Excellent! Read up on guidelines for contributing

License

Apache License, Version 2.0