JSPM

mysql2

1.1.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3132595
  • Score
    100M100P100Q194565F
  • License MIT

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

Package Exports

  • mysql2
  • mysql2/index.js
  • mysql2/lib/commands/index.js
  • mysql2/lib/connection
  • mysql2/lib/connection.js
  • mysql2/lib/connection_config
  • mysql2/lib/connection_config.js
  • mysql2/lib/constants/charset_encodings.js
  • mysql2/lib/constants/charsets
  • mysql2/lib/constants/charsets.js
  • mysql2/lib/constants/client
  • mysql2/lib/constants/client.js
  • mysql2/lib/constants/errors.js
  • mysql2/lib/constants/ssl_profiles.js
  • mysql2/lib/constants/types.js
  • mysql2/lib/packet_parser.js
  • mysql2/lib/packets/index.js
  • mysql2/lib/packets/packet
  • mysql2/lib/packets/packet.js
  • mysql2/lib/parsers/string.js
  • mysql2/lib/pool
  • mysql2/lib/pool.js
  • mysql2/lib/pool_cluster
  • mysql2/lib/pool_cluster.js
  • mysql2/lib/pool_config.js
  • mysql2/lib/pool_connection.js
  • mysql2/lib/server.js
  • mysql2/promise
  • mysql2/promise.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (mysql2) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Node MySQL 2

NPM Version NPM Downloads Node.js Version Linux Build Windows Build License

MySql client for node.js. Written in native JavaScript and aims to be mostly api compatible with node-mysql

NPM NPM

Features and Documentation

  • Fast
  • Prepared Statements
  • Promise Wrapper
  • Authentication Switch
  • MySQL Server (API and Mocks)
  • Pooling
  • SSL
  • MySQL Compression
  • Binary Log Protocol Client

Please check documentation to get started.

Acknowledgements

  • Internal protocol is written by @sidorares MySQL-Native
  • Constants, SQL parameters interpolation, Pooling, ConnectionConfig class taken from node-mysql
  • SSL upgrade code based on @TooTallNate code
  • Secure connection / compressed connection api flags compatible to MariaSQL client.
  • Contributors

Contributing

Want to improve something in node-mysql2. Please check Contributing.md for detailed instruction on how to get started.