node-disk-storage
Version:
fast and secure local storage persistent data for node js
12 lines (11 loc) • 653 B
TypeScript
/**
* node-disk-storage
* @author Copyright(c) 2021 by Restu wahyu saputra
* MIT Licensed
*/
export declare const setItem: (items: Record<string, any>, options: Record<string, any>) => Promise<any>;
export declare const getItem: (key: string, options: Record<string, any>) => Promise<any>;
export declare const removeItem: (key: string, options: Record<string, any>) => Promise<any>;
export declare const clearItem: (options: Record<string, any>) => Promise<any>;
export declare const allKeysItem: (options: Record<string, any>) => Promise<any>;
export declare const keysItem: (key: string, options: Record<string, any>) => Promise<any>;