tiny-indexed-db

Gyen Abubakar

Frontend Engineer
JavaScript
This is a tiny Promise-based library for working with indexedDB in JavaScript.

The unique-string Library

The additional unique-string.js library is used to generate unique strings, which can be used as a primary key, an identifier, of an object data in an indexedDB object store. This should be used for prototyping only, as strings may not be unique, even though this is unlikely.
To use it, make sure to import UniqueString from the unique-string.js file:
import UniqueString from '<your-path>/unique-string' ;
To generate a unique string, create a new instance of the UniqueString class:
const uid = new UniqueString();
Then, use the generate() method on the new instance. The method will return a string with randomly generated numbers, special characters and alphabets:
let idString = uid.generate();
For more info, read the README here.
Partner With Gyen
View Services

More Projects by Gyen