Displaying 1 to 20 from 24 results

keyv - Simple key-value storage with support for multiple backends

  •    Javascript

Keyv provides a consistent interface for key-value storage across multiple backends via storage adapters. It supports TTL based expiry, making it suitable as a cache or a persistent key-value store.Install Keyv.

moize - The consistently-fast, complete memoization solution for JS

  •    Javascript

moize is a consistently blazing fast memoization library for JavaScript. It handles multiple parameters (including default values) without any additional configuration, and offers a large number of options to satisfy any number of potential use-cases. All parameter types are supported, including circular objects, functions, etc. There are also a number of shortcut methods to memoize for unique use-cases.

level-ttl - Add a 'ttl' (time-to-live) option to LevelUP for put() and batch()

  •    Javascript

Augment LevelUP to handle a new 'ttl' option on put() and batch() that specifies the number of milliseconds an entry should remain in the data store. After the TTL, the entry will be automatically cleared for you.Requires LevelUP, Level or level-hyper to be installed separately.




level-ttl-cache - A pass-through cache for arbitrary objects or binary data using LevelDB, expired by a TTL

  •    Javascript

Requires LevelUP (or Level) and sublevel to be installed separately.Also builds on LevelTTL to provide TTL-based cache timeouts, you'll need to initialise it too. You can also set a custom check-frequency when you initialise LevelTTL.

nemo-rocksdb - Add TTL feature on rocksdb, and compatible with rocksdb

  •    C++

nemo-rocksdb is compatible with rocksdb, and I added TTL feature on it, supporting to put a record with any specified TTL. The performance is close to rocksdb, so you can use it without worring about performance penalty. It uses rocksdb as a submodule, so it's easy to upgrade rocksdb to the latest version if needed, now it's using rocksdb(v5.0.1). Besides, it is going to be used in Nemo as a submodule.you can create iterator by NewIterator() to iterate db, it will ignore the expired records automaticly.

node-object-encrypter - Encrypt/decrypt javascript objects as base64 strings with optional TTL support

  •    Javascript

Encrypt/decrypt JavaScript objects as base64 strings with optional TTL support.Create an instance of encrypter, secret could be a string or an array of strings.


cacheman - Small and efficient cache provider for Node

  •    Javascript

Small and efficient cache provider for Node.JS with In-memory, File, Redis and MongoDB engines. Create cacheman instance. It accepts an name(optional) and options(optional). options can contain ttl to set the default "Time To Live" in seconds, delimiter to change the delimiter used for array keys (default: ':'), Promise can set a Promise library to use for promises, engine that could be "memory", "in file", "redis" or "mongo", and the corresponding engine options that can be passed like port, host, etc.

cacheman-mongo - MongoDB standalone caching library for Node.JS and also cache engine for cacheman

  •    Javascript

MongoDB standalone caching library for Node.JS and also cache engine for cacheman. Create cacheman-mongo instance. options are mongo valid options including port, host, database and collection.

cacheman-redis - Redis standalone caching library for Node.JS and also cache engine for cacheman

  •    Javascript

Redis standalone caching library for Node.JS and also cache engine for cacheman. Create cacheman-redis instance. options are redis valid options including port and host.

mongoose-cachebox - Cache mongoose queries in memory, redis or use your own driver

  •    Javascript

Caching mongoose queries easier with cacheman that supports in-memory, and Redis engines. Then later any find query will be cached for 30 seconds.

archived-level-ttl-cache - A pass-through cache for arbitrary objects or binary data using LevelDB, expired by a TTL

  •    Javascript

Requires LevelUP (or Level) and sublevel to be installed separately. Also builds on LevelTTL to provide TTL-based cache timeouts, you'll need to initialise it too. You can also set a custom check-frequency when you initialise LevelTTL.

go-ttlmap - go-ttlmap is a Go package that provides an in-memory key-value cache with notification events for storing TTL-based expirable items

  •    Go

go-ttlmap is a Go package that provides an in-memory key-value cache with notification events for storing TTL-based expirable items. For advanced usage, make sure to check the available documentation here.

serverless-dynamodb-ttl - ⚡️ Serverless Plugin to set DynamoDB TTL

  •    Javascript

AWS CloudFormation supports now TTL, so this plugin for Serverless is useless. More information about how to use it in the AWS documentation. It's not possible to use DynamoDB's TTL feature with CloudFormation yet. Use this plugin to configure TTL for your DynamoDB with Serverless.

mongoose-memcached - Mongoose query cache using memcached

  •    Javascript

Use memcached as the query cacher for mongoose. Inspired by Jonathan Brumley's mongoose-cachebox, but compatible with mongoose 3.8 and uses memcached instead of redis. The API is very similar. Credits to https://github.com/Faleij for all the features related to stream query. Then later any find or findOne query will be cached for 60 seconds.

cachegoose - Simple, integrated caching for Mongoose queries.

  •    Javascript

A Mongoose caching module that works exactly how you would expect it to, with the latest version of Mongoose. You can also pass a custom key into the .cache() method, which you can then use later to clear the cached content.

hamster - A javascript library for caching functions instead of data

  •    Javascript

The ultimate Javascript cache module. Unobtrusive and failsafe caching of anything. Caches functions instead of data. When you cache a function using hamster(fn), a function is returned. You can use this function in exactly the same way as the original. No other part of your code should ever have to care about that the function is cached.

expiry-map - A Map implementation with expirable items

  •    TypeScript

Memory is automatically released when an item expires by removing it from the Map. Milliseconds until an item in the Map expires.

expiry-set - A Set implementation with expirable keys

  •    TypeScript

Memory is automatically released when an item expires by removing it from the Set. Milliseconds until a key in the Set expires.