CLFPosthumus / fluent-querykit

Fluent QueryKit | A package that provides a Fluent API for pdevito3/QueryKit.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fluent-Querykit

Build Status Maintainability Test Coverage

minzip

🚀 Welcome to the Beta Launch! 🚀

Getting Started

Fluent QueryKit is a TypeScript package that provides a Fluent API for constructing queries using pdevito3/QueryKit. It simplifies the process of building complex queries by offering a chainable and expressive syntax.

Installation

Install Fluent QueryKit using npm:

npm install fluent-querykit

Usage

import { QueryBuilder } from 'fluent-querykit';

const query = new QueryBuilder()
  .equals('name', 'John')
  .or()
  .startsWith('role', 'Admin')
  .build();

console.log(query);

For more examples check the Wiki

Supported and tested Node.js versions:

  • 14.x - 21.x

Contributing

If you'd like to contribute to Fluent QueryKit, please create a PR or issue on github.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Fluent QueryKit | A package that provides a Fluent API for pdevito3/QueryKit.

License:MIT License


Languages

Language:TypeScript 99.0%Language:JavaScript 1.0%