4.0.1 • Published 5 years ago
brute-knex v4.0.1
brute-knex
A knex.js store for express-brute.
Installation
via npm:
$ npm install brute-knexUsage
Refer to the example application.
Options
tablenameTable name (default 'brute') to store records in.createTableSet tofalse(defaulttrue) to disable automatically creatingtablenameif it does not exist.knexknex instance to use. If not provided, defaults to a sqlite3 database named ./brute-knex.sqlite
Testing
yarn test
You can create a custom config file in the root folder. Take a look at the example config, which is the fallback.
e.g. config.testing-mysql.json
