crawlee-storage-extensions
Version:
Package for Apify/Crawlee that allows to store encrypted text values into the Storages
8 lines (7 loc) • 555 B
TypeScript
import type { KeyValueStoreLike } from './types.js';
import { EncryptedKeyValueStore } from './encrypted-key-value-store.js';
import { CachedKeyValueStore } from './cached-key-value-store.js';
export { CachedKeyValueStore } from './cached-key-value-store.js';
export { EncryptedKeyValueStore } from './encrypted-key-value-store.js';
export declare function encryptKeyValueStore(keyValueStore: KeyValueStoreLike, secretKey: string): EncryptedKeyValueStore;
export declare function cacheKeyValueStore(keyValueStore: KeyValueStoreLike): CachedKeyValueStore;