We love Nestjs framework and Knex.js SQL Builder, so, I decided to create this package to abstract the use of Knex.js with Nestjs, which uses TypeScript.
To install this generated project:
$ npm install nestjs-knexjs knex
Install the expected client library for your database:
$ npm install pg
$ npm install sqlite3
$ npm install mysql
$ npm install mysql2
$ npm install oracledb
$ npm install mssql
(or yarn equivalent)
Check out the examples folder.
All contributions are welcome. Use the pull request as a way to contribute to the evolution of the package. My intention is over time to add pipelines with github actions as a way to facilitate contributions.
This package is configured with commitlint, so, to contribute you have to know about the rules of commitlint