{"name":"mysql2","version":"0.2.1","keywords":["mysql"],"author":{"name":"Andrey Sidorov","email":"sidorares@yandex.ru"},"license":"MIT","_id":"mysql2@0.2.1","maintainers":[{"name":"sidorares","email":"sidorares@yandex.com"}],"dist":{"shasum":"5439509d1b0390565535d239ce29004922f034de","tarball":"http://registry-npm.ywwl.com/mysql2/download/mysql2-0.2.1.tgz","integrity":"sha512-HdGMed6kxtIEUrOQk/ZrSfx3FrEE65nwosofUgM4Pp/zk0uK97X13mkNmnEmm8U1pzXeRCz64t2tr5sqOFZN7A==","signatures":[{"sig":"MEUCIQC4dOKDvvfMmj3vpCHWapRrZgXs5W6u+uI7IG8HWtYPpQIgC3/tqgMZAumnvd29d2Yp12MWzwfi5LIgRS/7Q1QVQJc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"size":13192,"noattachment":false,"key":"/mysql2/-/mysql2-0.2.1.tgz"},"main":"index.js","_from":".","scripts":{"test":"./test/run.js"},"_npmUser":{"name":"sidorares","email":"sidorares@yandex.com"},"repository":{"url":"https://github.com/sidorares/node-mysql2","type":"git"},"_npmVersion":"1.2.14","description":"fast mysql driver","directories":{"example":"examples"},"dependencies":{"underscore":"~1.4.4","readable-stream":"~1.0.2"},"devDependencies":{"urun":"0.0.6"},"readme":"[npm-image]: https://img.shields.io/npm/v/mysql2.svg\n[npm-url]: https://npmjs.com/package/mysql2\n[node-version-image]: https://img.shields.io/node/v/mysql2.svg\n[node-version-url]: https://nodejs.org/en/download\n[downloads-image]: https://img.shields.io/npm/dm/mysql2.svg\n[downloads-url]: https://npmjs.com/package/mysql2\n[license-url]: https://github.com/sidorares/node-mysql2/blob/master/License\n[license-image]: https://img.shields.io/npm/l/mysql2.svg?maxAge=2592000\n[node-mysql]: https://github.com/mysqljs/mysql\n[mysqljs]: https://github.com/mysqljs\n[mysql-native]: https://github.com/sidorares/nodejs-mysql-native\n[sidorares]: https://github.com/sidorares\n[TooTallNate]: https://gist.github.com/TooTallNate\n[starttls.js]: https://gist.github.com/TooTallNate/848444\n[node-mariasql]: https://github.com/mscdex/node-mariasql\n[contributors]: https://github.com/sidorares/node-mysql2/graphs/contributors\n[contributing]: https://github.com/sidorares/node-mysql2/blob/master/Contributing.md\n[docs-base]: https://sidorares.github.io/node-mysql2/docs\n[docs-base-zh-CN]: https://sidorares.github.io/node-mysql2/zh-CN/docs\n[docs-base-pt-BR]: https://sidorares.github.io/node-mysql2/pt-BR/docs\n[docs-prepared-statements]: https://sidorares.github.io/node-mysql2/docs/documentation/prepared-statements\n[docs-mysql-server]: https://sidorares.github.io/node-mysql2/docs/documentation/mysql-server\n[docs-promise-wrapper]: https://sidorares.github.io/node-mysql2/docs/documentation/promise-wrapper\n[docs-authentication-switch]: https://sidorares.github.io/node-mysql2/docs/documentation/authentication-switch\n[docs-streams]: https://sidorares.github.io/node-mysql2/docs/documentation/extras\n[docs-typescript-docs]: https://sidorares.github.io/node-mysql2/docs/documentation/typescript-examples\n[docs-qs-pooling]: https://sidorares.github.io/node-mysql2/docs#using-connection-pools\n[docs-qs-first-query]: https://sidorares.github.io/node-mysql2/docs#first-query\n[docs-qs-using-prepared-statements]: https://sidorares.github.io/node-mysql2/docs#using-prepared-statements\n[docs-examples]: https://sidorares.github.io/node-mysql2/docs/examples\n[docs-faq]: https://sidorares.github.io/node-mysql2/docs/faq\n[docs-documentation]: https://sidorares.github.io/node-mysql2/docs/documentation\n[docs-contributing]: https://sidorares.github.io/node-mysql2/docs/contributing/website\n[coverage]: https://img.shields.io/codecov/c/github/sidorares/node-mysql2\n[coverage-url]: https://app.codecov.io/github/sidorares/node-mysql2\n[ci-url]: https://github.com/sidorares/node-mysql2/actions/workflows/ci-coverage.yml?query=branch%3Amaster\n[ci-image]: https://img.shields.io/github/actions/workflow/status/sidorares/node-mysql2/ci-coverage.yml?event=push&style=flat&label=CI&branch=master\n\n# MySQL2\n\n[![NPM Version][npm-image]][npm-url]\n[![NPM Downloads][downloads-image]][downloads-url]\n[![Node.js Version][node-version-image]][node-version-url]\n[![GitHub Workflow Status (with event)][ci-image]][ci-url]\n[![Codecov][coverage]][coverage-url]\n[![License][license-image]][license-url]\n\n[English][docs-base] | [简体中文][docs-base-zh-CN] | [Português (BR)][docs-base-pt-BR]\n\n> MySQL client for Node.js with focus on performance. Supports prepared statements, non-utf8 encodings, binary log protocol, compression, ssl [much more][docs-documentation].\n\n**Table of Contents**\n\n- [History and Why MySQL2](#history-and-why-mysql2)\n- [Installation](#installation)\n- [Documentation](#documentation)\n- [Acknowledgements](#acknowledgements)\n- [Contributing](#contributing)\n\n## History and Why MySQL2\n\nMySQL2 project is a continuation of [MySQL-Native][mysql-native]. Protocol parser code was rewritten from scratch and api changed to match popular [Node MySQL][node-mysql]. MySQL2 team is working together with [Node MySQL][node-mysql] team to factor out shared code and move it under [mysqljs][mysqljs] organization.\n\nMySQL2 is mostly API compatible with [Node MySQL][node-mysql] and supports majority of features. MySQL2 also offers these additional features:\n\n- Faster / Better Performance\n- [Prepared Statements][docs-prepared-statements]\n- MySQL Binary Log Protocol\n- [MySQL Server][docs-mysql-server]\n- Extended support for Encoding and Collation\n- [Promise Wrapper][docs-promise-wrapper]\n- Compression\n- SSL and [Authentication Switch][docs-authentication-switch]\n- [Custom Streams][docs-streams]\n- [Pooling][docs-qs-pooling]\n\n## Installation\n\nMySQL2 is free from native bindings and can be installed on Linux, Mac OS or Windows without any issues.\n\n```bash\nnpm install --save mysql2\n```\n\nIf you are using TypeScript, you will need to install `@types/node`.\n\n```bash\nnpm install --save-dev @types/node\n```\n\n> For TypeScript documentation and examples, see [here][docs-typescript-docs].\n\n## Documentation\n\n- [Quickstart][docs-base]\n  - [First Query][docs-qs-first-query], [Using Prepared Statements][docs-qs-using-prepared-statements], [Using Connection Pools][docs-qs-pooling] and more.\n- [Documentation][docs-documentation]\n- [Examples][docs-examples]\n- [FAQ][docs-faq]\n\n## Acknowledgements\n\n- Internal protocol is written by [@sidorares][sidorares] [MySQL-Native][mysql-native].\n- Constants, SQL parameters interpolation, Pooling, `ConnectionConfig` class taken from [Node MySQL][node-mysql].\n- SSL upgrade code based on [@TooTallNate][TooTallNate] [code][starttls.js].\n- Secure connection / compressed connection api flags compatible to [MariaSQL][node-mariasql] client.\n- [Contributors][contributors].\n\n## Contributing\n\nWant to improve something in **MySQL2**?\nPlease check [Contributing.md][contributing] for detailed instruction on how to get started.\n\nTo contribute in **MySQL2 Documentation**, please visit the [Website Contributing Guidelines][docs-contributing] for detailed instruction on how to get started.\n","publish_time":1366679368491,"_cnpm_publish_time":1366679368491,"dist-tags":{"beta":"2.0.0-alpha1","canary":"3.24.6-canary.8c068ef","latest":"3.24.6","next":"3.0.0-rc.1"}}