Simple key-value storage with support for multiple backends
MIT License
Bot releases are hidden (Show)
Published by jaredwray about 2 months ago
Full Changelog: https://github.com/jaredwray/keyv/compare/2024-08-20...2024-08-21
Published by jaredwray 2 months ago
There a couple big BREAKING
changes:
useRedisSets
false by @ComfortablyCoding in https://github.com/jaredwray/keyv/pull/964
Full Changelog: https://github.com/jaredwray/keyv/compare/2023-12-02...2024-08-20
Full Changelog: https://github.com/jaredwray/keyv/compare/2024-03-16...2024-05-04
Published by jaredwray 7 months ago
Upgraded the mysql2
module to its latest version
Full Changelog: https://github.com/jaredwray/keyv/compare/2024-02-17...2024-03-16
Published by jaredwray 8 months ago
Full Changelog: https://github.com/jaredwray/keyv/compare/2024-02-04...2024-02-17
Published by jaredwray 9 months ago
Full Changelog: https://github.com/jaredwray/keyv/compare/2024-01-29...2024-02-04
Published by jaredwray 9 months ago
add non set namespace support by @jaredwray in https://github.com/jaredwray/keyv/pull/989
Full Changelog: https://github.com/jaredwray/keyv/compare/2024-01-08...2024-01-29
Published by jaredwray 10 months ago
Full Changelog: https://github.com/jaredwray/keyv/compare/2024-01-06...2024-01-08
Published by jaredwray 10 months ago
Full Changelog: https://github.com/jaredwray/keyv/compare/2023-10-07...2024-01-06
Published by jaredwray 11 months ago
Full Changelog: https://github.com/jaredwray/keyv/compare/2023-11-19...2023-12-02
Published by jaredwray 11 months ago
Full Changelog: https://github.com/jaredwray/keyv/compare/2023-11-12...2023-11-19
Published by jaredwray 11 months ago
Full Changelog: https://github.com/jaredwray/keyv/compare/2023-10-07...2023-11-12
Published by jaredwray about 1 year ago
Full Changelog: https://github.com/jaredwray/keyv/compare/2023-09-16...2023-10-07
Published by jaredwray about 1 year ago
Full Changelog: https://github.com/jaredwray/keyv/compare/2023-09-04...2023-09-16
Published by jaredwray about 1 year ago
Full Changelog: https://github.com/jaredwray/keyv/compare/2023-08-19...2023-09-04
Published by jaredwray about 1 year ago
Full Changelog: https://github.com/jaredwray/keyv/compare/2023-08-06...2023-08-19
Published by jaredwray about 1 year ago
Full Changelog: https://github.com/jaredwray/keyv/compare/2023-07-16...2023-08-06
Published by jaredwray over 1 year ago
index.d.ts
(https://github.com/jaredwray/keyv/pull/805)keyv-momento
to 3rd party storage adapters by @eaddingtonwhite in https://github.com/jaredwray/keyv/pull/866
get<Raw>(...)
with an overload by @mmkal in https://github.com/jaredwray/keyv/pull/805
Full Changelog: https://github.com/jaredwray/keyv/compare/2023-07-01...2023-07-16
Published by jaredwray over 1 year ago
useRedisSets
OptionThe useRedisSets
option lets you decide whether to use Redis sets for key management. By default, this option is set to true
.
When useRedisSets
is enabled (true
):
clear
function), all keys in the Redis set are looked up for deletion. The set itself is also deleted.Note: In high-performance scenarios, enabling useRedisSets
might lead to memory leaks. If you're running a high-performance application or service, it is recommended to set useRedisSets
to false
.
If you decide to set useRedisSets
as false
, keys will be handled individually and Redis sets won't be utilized.
However, please note that setting useRedisSets
to false
could lead to performance issues in production when using the clear
function, as it will need to iterate over all keys to delete them.
Here's how you can use the useRedisSets
option:
const Keyv = require('keyv');
const keyv = new Keyv('redis://user:pass@localhost:6379', { useRedisSets: false });
Full Changelog: https://github.com/jaredwray/keyv/compare/2023-06-26...2023-07-01
Published by jaredwray over 1 year ago
v1.4.6
has been broken with the wrong files being published to npm. 🍻Full Changelog: https://github.com/jaredwray/keyv/compare/2023-06-18...2023-06-26