10 Best JavaScript MySQL Libraries

List hand-picked by Openbase Experts
Learn More

typeorm

ORM for TypeScript and JavaScript (ES7, ES6, ES5). Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, SAP Hana, WebSQL databases. Works in NodeJS, Browser, Ionic, Cordova and Electron platforms.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
4.4/ 5
95
Top Feedback
12Poor Documentation
11Easy to Use
7Performant
GitHub Stars
27K
Weekly Downloads
865K
Last Commit
1mo ago
mys

mysql2

⚡ fast mysqljs/mysql compatible mysql driver for node.js

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
5.0/ 5
2
Top Feedback
2Easy to Use
2Performant
1Great Documentation
GitHub Stars
3K
Weekly Downloads
899K
Last Commit
2mos ago

mysql

A pure node.js JavaScript Client implementing the MySQL protocol.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
4.5/ 5
80
Top Feedback
9Great Documentation
5Easy to Use
2Highly Customizable
GitHub Stars
17K
Weekly Downloads
781K
Last Commit
1yr ago
ems

express-mysql-session

A MySQL session store for the express framework in node

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
4.0/ 5
2
Top Feedback
2Easy to Use
1Great Documentation
GitHub Stars
283
Weekly Downloads
19K
Last Commit
5mos ago
msn

msnodesqlv8

branched from node-sqlserver, SQL server driver compatible with all versions of Node

License Icon
License: Apache-2.0
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
106
Weekly Downloads
4K
Last Commit
1mo ago

@mysql/xdevapi

MySQL Connector Node.JS is a MySQL Connector using the X Protocol, which was introduced with MySQL 5.7.12.

License Icon
License: GPL-2.0
TypeScript Icon
TypeScript Definitions: Not Found
User RatingN/A
Top Feedback
1Hard to Use
GitHub Stars
121
Weekly Downloads
1K
Last Commit
4mos ago
mqu

mysql-query-util

Utility module for mysql and nodejs

License Icon
License: ISC
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
1
Weekly Downloads
16
Last Commit
6mos ago
mc

mysql-client

node.js mysql client

License Icon
License: Unknown
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
4
Weekly Downloads
145
Last Commit
11yrs ago
pm

promise-mysql2

mysql promise

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
1
Weekly Downloads
142
Last Commit
4yrs ago
ea

express-admin

MySQL, MariaDB, SQLite, PostgreSQL admin for NodeJS

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
1K
Weekly Downloads
89
Last Commit
2yrs ago

nodeadmin

A fantastically elegant interface for MySQL and Node.js/Express management. - https://www.npmjs.com/package/nodeadmin

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
496
Weekly Downloads
17
Last Commit
10mos ago
mp

mysql-plus

A MySQL client for Node.js that makes defining tables simple and automatically migrates table schemas

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
8
Weekly Downloads
13
Last Commit
2yrs ago
mn

mysql-native

MySql protocol client for Node.Js

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
N/A
Weekly Downloads
10
Last Commit
N/A
dm

db-mysql

MySQL database bindings for Node.JS

License Icon
License: Unknown
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
N/A
Weekly Downloads
9
Last Commit
N/A

@aminadav/mysql

A pure node.js JavaScript Client implementing the MySQL protocol.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Not Found
User RatingN/A
Top Feedback
N/A
GitHub Stars
17K
Weekly Downloads
9
Last Commit
1yr ago
war

warehousejs

Warehouse.js is a data storage layer for node.js and browser providing unified API for many supported storage engines (MongoDB, MySQL, SQLite, in-memory and others).

License Icon
License: Unknown
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
103
Weekly Downloads
3
Last Commit
8yrs ago
ess

express-sql-session

Express Session Store backed by a SQL database. The following sql databases are supported Postgres, MySQL, MariaDB and SQLite3

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
N/A
Weekly Downloads
1
Last Commit
7yrs ago