Skip to content

Allow returning the raw DB object #39

@lukechilds

Description

@lukechilds

Something like:

const keyv = new Keyv();
await keyv.set('foo', 'bar');

await keyv.get('foo');
// 'bar'
await keyv.get('foo', { raw: true });
// { value: 'bar', expires: null }

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions