Comparing version 0.5.0 to 0.5.1
{ | ||
"name": "db64", | ||
"version": "0.5.0", | ||
"version": "0.5.1", | ||
"description": "A Practical IndexedDB API", | ||
@@ -5,0 +5,0 @@ "main": "db64.js", |
@@ -20,13 +20,13 @@ # db64 | ||
try { | ||
// First create a database with stores. | ||
// First create a database with stores | ||
await db64.create('Games', 'Super Nintendo', 'Gameboy') | ||
// Assing a variable for modifying a store. | ||
// Assing a variable for modifying a store | ||
const snes = db64.use('Games', 'Super Nintendo') | ||
// Set multiple entries | ||
// Set multiple entries into Super Nintendo | ||
await snes.setEntries({ adventure: 'Mario Wrold', rpg: 'Zelda', fighting: 'Street Fighter II' }) | ||
// Get multiple entries | ||
await snes.getEntries(['adventure', 'fighting']) | ||
// Get multiple entries from Super Nintendo | ||
await snes.getEntries(['adventure', 'fighting']) // { adventure: 'Mario Wrold', fighting: 'Street Fighter II' } | ||
... | ||
@@ -33,0 +33,0 @@ ``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10437