mysql2

v1.4.0
fast mysql driver. Implements core protocol, prepared statements, ssl and compression in native JS
mysql client server

lint

npm run lint:docs && npm run lint:code

test

npm run lint && npm run test:raw

prettier

prettier --single-quote --trailing-comma none --write "{lib,examples,test}/**/*.js"

test:raw

node ./test/run.js && MYSQL_USE_COMPRESSION=1 node ./test/run.js

benchmark

./benchmarks/run-unit.js

lint:code

eslint index.js promise.js 'lib/**/*.js' 'test/**/*.js'

lint:docs

eslint Contributing.md 'documentation/**/*.md' examples/*.js

precommit

lint-staged

wait-port

wait-on

eslint-check

eslint --print-config .eslintrc | eslint-config-prettier-check

prettier:docs

prettier-markdown README.md documentation/*

Metadata

  • MIT
  • >= 4.0
  • Andrey Sidorov
  • released 8/4/2017

Downloads