chex-storage
Version:
A wrapper library for Chrome extension storage local - the standard storage in the chrome extension.
12 lines (11 loc) • 349 B
TypeScript
export type ChexStorageConfig = {
debug?: boolean;
};
declare class ChexStorageProvider {
extensionId: string;
config: ChexStorageConfig;
constructor(extensionId: string, config?: ChexStorageConfig);
log(...args: any[]): void;
sendMessage(type: string, payload?: any): Promise<unknown>;
}
export default ChexStorageProvider;