UNPKG

indexed-db-stream

Version:

Use node.js streams to read from / write to an IndexedDB.

11 lines 443 B
export const TEST_DATABASE_NAME_PREFIX: string = "test-db-"; export const TEST_OBJECT_STORE_NAME: string = "test-store"; export const TEST_DATABASE_VERSION: number = 1; export const TEST_DATA = [ {id: 1, value: "first", index: "a"}, {id: 2, value: "second", index: "b"}, {id: 3, value: "third", index: "c"}, {id: 4, value: "same", index: "d"}, {id: 5, value: "same", index: "d"}, {id: 6, value: "other", index: "e"}, ];