Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
backbone-db-indexing-adapter
Advanced tools
Interface for Backbone-db compatible adapters that can store indices
Interface for Backbone-db compatible adapters that can store indices.
Interface that compliant backbone-db adapter must implement. Interface defines the following methods:
Adds a key to index.
Read keys from the index.
Read keys from multiple indexes.
Remove models' keys from index.
Removes the index completely.
Check if key exists in the index.
Get number of keys in the index.
Return the score of key in the index.
Backbone-db adapter that implements IndexedDBAdapterInterface, storing indexes in memory/localStorage
var IndexingDBLocal = require('backbone-db-indexing-adapter').IndexingDBLocal;
var store = new IndexingDBLocal('test');
Mixin for Collections that use IndexedDBAdapterInterface compliant backbone-db adapter
var TestIndexedCollection = MyCollection.extend(
_.extend({}, IndexedCollectionMixin, {
indexDb: store
})
);
var c = new TestIndexedCollection();
return c.readFromIndex().then(...);
npm run test
FAQs
Interface for Backbone-db compatible adapters that can store indices
The npm package backbone-db-indexing-adapter receives a total of 4 weekly downloads. As such, backbone-db-indexing-adapter popularity was classified as not popular.
We found that backbone-db-indexing-adapter demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.