Key/value storage, local or remote
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
storage/mod.ts

26 lines
504 B

import {
KeyValueStorage,
MemoryStorage,
RefScopedStorage,
ScopedStorage,
} from "./src/basic.ts";
import {
getLocalStorage,
getMemoryStorage,
getRemoteStorage,
} from "./src/main.ts";
import { LocalStorage } from "./src/local.ts";
import { RestRemoteStorage } from "./src/remote.ts";
export type TKStorage = KeyValueStorage;
export {
getLocalStorage,
getMemoryStorage,
getRemoteStorage,
LocalStorage,
MemoryStorage,
RefScopedStorage,
RestRemoteStorage,
ScopedStorage,
};