This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

brute-knex

4.0.1 • Public • Published

brute-knex

NPM Version NPM Downloads Node.js Version Build Status Dependency Status Coverage Status

NPM

A knex.js store for express-brute.

Installation

via npm:

  $ npm install brute-knex

Usage

Refer to the example application.

Options

  • tablename Table name (default 'brute') to store records in.
  • createTable Set to false (default true) to disable automatically creating tablename if it does not exist.
  • knex knex 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

Readme

Keywords

Package Sidebar

Install

npm i brute-knex

Weekly Downloads

2,703

Version

4.0.1

License

ISC

Unpacked Size

9.18 kB

Total Files

5

Last publish

Collaborators

  • llambda
  • kirrg001
  • gx0r