cache-storage
Advanced tools
Comparing version 1.0.2 to 1.1.0
// Generated by CoffeeScript 1.6.3 | ||
(function() { | ||
var BrowserLocalStorage, Cache, Storage; | ||
var BrowserLocalStorage, Cache, Storage, | ||
__hasProp = {}.hasOwnProperty, | ||
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }; | ||
@@ -9,3 +11,5 @@ Storage = require('./Storage'); | ||
BrowserLocalStorage = (function() { | ||
BrowserLocalStorage = (function(_super) { | ||
__extends(BrowserLocalStorage, _super); | ||
BrowserLocalStorage.TEST_VALUE = '__--cache-storage--__'; | ||
@@ -146,3 +150,3 @@ | ||
})(); | ||
})(Storage); | ||
@@ -149,0 +153,0 @@ module.exports = BrowserLocalStorage; |
{ | ||
"name": "cache-storage", | ||
"description": "Cache storage for node js", | ||
"version": "1.0.2", | ||
"version": "1.1.0", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "David Kudera", |
@@ -19,5 +19,10 @@ # cache-storage | ||
You have to set storage which you want to use (now there is only file storage, but other storages like memcache and other | ||
are in plan) and name of namespace for cache, because you can use more than one independent caches. | ||
You have to set storage which you want to use (their list below) and name of namespace for cache, because you can use | ||
more than one independent caches. | ||
## Available storages | ||
* FileStorage (cache-storage/Storage/FileStorage - saving data to json files) | ||
* BrowserLocalStorage (cache-storage/Storage/BrowserLocalStorage - saving data to HTML5 local storage) | ||
## Loading & saving | ||
@@ -24,0 +29,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
27657
476
122