Socket
Socket
Sign inDemoInstall

backbone-db-cache

Package Overview
Dependencies
5
Maintainers
2
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    backbone-db-cache

Caching support for backbone-db


Version published
Maintainers
2
Install size
2.05 MB
Created

Readme

Source

backbone-db-cache

Provides sync wrapper for caching & LRU cache.

Example:


var Db = require('backbone-db');
var CacheDb = require('backbone-db-cache');

var testModelCache = new CacheDb('testmodel-cache');
var TestModel = Model.extend({
  ...
  type: 'footype',
  sync: CacheDb.cachingSync(Db.sync, testModelCache)
});

Keywords

FAQs

Last updated on 24 Oct 2014

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc