Package: node-pixl-cache
Version: 1.1.1-1
Architecture: all
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>
Installed-Size: 23
Section: javascript
Priority: optional
Multi-Arch: foreign
Homepage: https://github.com/jhuckaby/pixl-cache
Description: simple but fast LRU cache module for Node.js
 pixl-cache is a very simple LRU (Least Recently Used) cache module for
 Node.js. It works like a hash map with set() and get() methods, but when
 it detects an overflow (configurable by total keys or total bytes) it
 automatically expunges the least recently accessed objects from the
 cache. It is fast, stable, and has no dependencies.
 .
 Internally the cache is implemented as a combination of a hash map and a
 double-linked list. When items are accessed (added, replaced or fetched)
 they are promoted to the front of the linked list. When the max size
 (keys or bytes) is exceeded, items are dropped from the back of the list.
 Items can also have an optional max age (i.e. expiration date).
 .
 Features:
 .
  - Simple and straightforward API
  - Fast and stable
  - Low memory overhead
  - Predictable results on overflow
  - Can expire based on key count or byte count
  - Optional expiration date for items
  - Event listener for ejecting expired items
  - Can store custom metadata along with cache objects
  - No dependencies
 .
 Node.js is an event-based server-side JavaScript engine.
