UNPKG

@signaldb/core

Version:

SignalDB is a client-side database that provides a simple MongoDB-like interface to the data with first-class typescript support to achieve an optimistic UI. Data persistence can be achieved by using storage providers that store the data through a JSON in

6 lines (5 loc) 121 B
"use strict"; function randomId() { return Math.floor(Math.random() * 1e17).toString(16); } module.exports = randomId;