/go-indexeddb

An IndexedDB driver for Go code compiled to WebAssembly.

Primary LanguageGoApache License 2.0Apache-2.0

go-indexeddb Go Reference CI Coverage Status

An IndexedDB driver with bindings for Go code compiled to WebAssembly.

Package idb is a low-level Go driver that provides type-safe bindings to IndexedDB in Wasm programs. The primary focus is to align with the IndexedDB spec, followed by ease of use.

To get started, get the global indexedDB instance with idb.Global(). See the reference for examples and full documentation.

go get github.com/hack-pad/go-indexeddb@latest
import "github.com/hack-pad/go-indexeddb/idb"