6 lines
200 B
JavaScript
Raw Permalink Normal View History

2025-09-05 14:59:21 +08:00
import { prefixStorage } from "unstorage";
import { storage } from "#nitro-internal-virtual/storage";
export function useStorage(base = "") {
return base ? prefixStorage(storage, base) : storage;
}