{"library":"database-js2","type":"library","category":null,"description":"database-js2 is a JavaScript library providing a common, promise-based interface for accessing various database systems, inspired by Java's JDBC (Java Database Connectivity) pattern. It allows developers to interact with different databases (e.g., SQLite, MySQL, PostgreSQL) and even non-SQL data sources like Firebase, INI files, or Excel/CSV sheets using a unified API and connection string format. The library supports built-in prepared statements and integrates well with ES7 async/await syntax via Promises. This specific package, `database-js2`, is currently at version 1.4.2 but has been officially deprecated. All new feature development has ceased for this package, and future development and bug fixes are being published under the new `database-js` package (v3.x and above), which has claimed the original `database-js` npm package name.","language":"javascript","status":"deprecated","version":"1.4.2","tags":["javascript","database","database-js","adodb","firebase","ini","mysql","postgres"],"last_verified":"Wed May 27","install":[{"cmd":"npm install database-js2","imports":["const Connection = require('database-js2').Connection;"]},{"cmd":"yarn add database-js2","imports":[]},{"cmd":"pnpm add database-js2","imports":[]}],"homepage":null,"github":"https://github.com/mlaanderson/database-js","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/database-js2","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/database-js2/compatibility"}}