UNPKG

code-craft-studio

Version:

A comprehensive QR code and barcode scanning/generation library for React. Works with or without Capacitor. Supports 22+ QR data types and 14+ barcode formats (EAN, UPC, Code 128, etc.), with customizable designs, analytics, and React components. Provider

11 lines (10 loc) 387 B
import type { StorageAdapter } from '../types'; export declare class WebStorageAdapter implements StorageAdapter { private storage; private prefix; constructor(useSessionStorage?: boolean, prefix?: string); get(key: string): Promise<string | null>; set(key: string, value: string): Promise<void>; remove(key: string): Promise<void>; clear(): Promise<void>; }