Comparing version 1.0.12 to 1.1.0
{ | ||
"name": "jonathan", | ||
"version": "1.0.12", | ||
"description": "An in-memory cache for Node", | ||
"version": "1.1.0", | ||
"description": "DEPRECATED! An in-memory cache for Node", | ||
"keywords": ["cache", "memory", "timed cache"], | ||
@@ -6,0 +6,0 @@ "repository": "https://github.com/jamesseanwright/jonathan.git", |
@@ -0,1 +1,10 @@ | ||
# DEPRECATED | ||
This was the first npm module that I published since returning to web development. It was mainly an experiment with TDD in Node.js, and in retrospect, it isn't that great; the worst offender is that it uses `setInterval` to remove items from the cache, rather than simply attaching a timestamp to cache items, when stored, for later comparison. | ||
The module will still be available, and I might consider unpublishing it (GASP) if I can confirm that it is no longer being downloaded. In the meantime, you should migrate to [stale-lru-cache](https://www.npmjs.com/package/stale-lru-cache); it's ridiculously fast. | ||
# Jonathan [![Build status](https://travis-ci.org/jamesseanwright/jonathan.svg)](https://travis-ci.org/jamesseanwright/jonathan) | ||
@@ -5,3 +14,3 @@ | ||
An in-memory cache for Node | ||
An in-memory cache for Node.js | ||
@@ -8,0 +17,0 @@ ## Installation |
4492
89