This is a minimalist data filtering library, for developing applications that need to filter, sort and page data.
Be able to use query syntax to simplify and standardize app endpoints/routes
Ex:
/products?filter=product/price gt 100 & top=50
Pagination
/products?filter=product/price gt 100 & top=50 & skip=50
Should product an AST to apply to a backend as needed.
For example it could be applied to an existing API or to add to an SQL prepared statement or manipulate ORM or QueryBuilder APIs such as Drizzle or Kysely.
[ ] Finish Tokenizer
[ ] Build Parser
[ ] Create sample integrations to use with Remix and easy to apply to Drizzle
[ ] Publish to npm
[ ] Write docs after getting some prod use
Check out the ODATA if you would like to use something that is a specification.
First, let's install all dependencies:
pnpm iWhen you're ready to build and use your new npm package, run:
pnpm build