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

9 lines (8 loc) 161 B
import { Query } from "mingo"; function match(item, selector) { const query = new Query(selector); return query.test(item); } export { match as default };