Socket
Socket
Sign inDemoInstall

brute-knex

Package Overview
Dependencies
Maintainers
2
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

brute-knex

A Knex.js store for express-brute


Version published
Weekly downloads
2.1K
increased by5.25%
Maintainers
2
Weekly downloads
 
Created
Source

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

Keywords

FAQs

Package last updated on 02 Nov 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc