UNPKG

crawlee-storage-extensions

Version:

Package for Apify/Crawlee that allows to store encrypted text values into the Storages

9 lines (8 loc) 323 B
import { KeyValueStoreLike } from './types.js'; export declare class CachedKeyValueStore implements KeyValueStoreLike { #private; private kvstore; constructor(kvstore: KeyValueStoreLike); getValue<T = unknown>(key: string): Promise<T | null>; setValue<T>(key: string, value: T | null): Promise<void>; }