{"library":"websql","type":"library","category":null,"description":"This `websql` package provides a Node.js implementation of the deprecated WebSQL Database API, leveraging `sqlite3` for its backend operations. It enables developers to run code originally designed for browser-based WebSQL environments within a Node.js context, and also falls back to `window.openDatabase` when used in a browser via bundlers like Browserify or Webpack. The current stable version is 2.0.3, with no explicit release cadence specified, indicating a focus on stability and compatibility rather than active feature development. Its primary differentiator is its strict adherence to the existing WebSQL API as implemented in browsers, acting as a bridge for legacy applications rather than extending the standard. It specifically *does not* aim to invent new APIs, support features like BLOBs or encryption, or enhance WebSQL beyond its original scope, focusing instead on accurate emulation for compatibility.","language":"javascript","status":"maintenance","version":"2.0.3","tags":["javascript","websql","sql","opendatabase","sqlite","storage","sqlite3","database"],"last_verified":"Wed May 27","install":[{"cmd":"npm install websql","imports":["import openDatabase from 'websql';","import customOpenDatabase from 'websql/custom';","const db = openDatabase('mydb.db', '1.0', 'description', 1);"]},{"cmd":"yarn add websql","imports":[]},{"cmd":"pnpm add websql","imports":[]}],"homepage":null,"github":"https://github.com/nolanlawson/node-websql","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/websql","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/websql/compatibility"}}