{"library":"browser-level","type":"library","category":null,"description":"`browser-level` is a JavaScript library providing an `abstract-level` compliant database interface designed specifically for web browsers, utilizing IndexedDB as its backend. The current stable version is 3.0.0. It serves as the spiritual successor to `level-js`, offering a modern, `abstract-level`-compatible API for client-side data persistence. Releases typically align with major upgrades to its underlying `abstract-level` dependency, ensuring compatibility with the broader Level ecosystem. A key differentiator is its seamless integration with browser environments, providing first-class support for both Uint8Array and Buffer (via an optional shim) for keys and values. However, due to IndexedDB's inherent limitations, `browser-level` iterators do not offer strict snapshot guarantees across multiple `next()` or `nextv()` calls, which means concurrent writes might be visible to an ongoing iteration. This necessitates careful handling for applications requiring strict transactional isolation during iteration.","language":"javascript","status":"active","version":"3.0.0","tags":["javascript","level","leveldb","indexeddb","abstract-level","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install browser-level","imports":["import { BrowserLevel } from 'browser-level'","import type { AbstractLevel } from 'abstract-level'","import { BrowserLevel } from 'browser-level'"]},{"cmd":"yarn add browser-level","imports":[]},{"cmd":"pnpm add browser-level","imports":[]}],"homepage":null,"github":"https://github.com/Level/browser-level","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/browser-level","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/browser-level/compatibility"}}