UNPKG

@vegajs/storage

Version:

A flexible and type-safe storage service adapter for TypeScript and JavaScript. Supports various storage mechanisms like localStorage, query strings, and mock storage with both asynchronous and synchronous APIs.

1 lines 473 B
"use strict";var e,t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,u=Object.prototype.hasOwnProperty,p=(e,p,a,l)=>{if(p&&"object"===typeof p||"function"===typeof p)for(let n of o(p))u.call(e,n)||n===a||t(e,n,{get:()=>p[n],enumerable:!(l=r(p,n))||l.enumerable});return e},a={};module.exports=(e=a,p(t({},"__esModule",{value:!0}),e)),((e,t,r)=>{p(e,t,"default"),r&&p(r,t,"default")})(a,require("./query-string-adapter"),module.exports);