fluent-querykit
v0.0.6
Published
Fluent api for pdevito3/QueryKit in typescript
Downloads
49
Readme
Fluent-Querykit
🚀 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.