UNPKG

@alwatr/nitrobase-helper

Version:

Extremely fast and compact JSON-based database that operates in memory, includes a JSON file backup, and serve over the highly accelerated Nginx.

16 lines 546 B
import { type StoreFileId, type StoreFileStat } from '@alwatr/nitrobase-types'; /** * Convert StoreFileId to a string ID. * * @param storeId - The StoreFileId. * @returns The nitrobase ID as a string. */ export declare function getStoreId(storeId: StoreFileId): string; /** * Returns the nitrobase path based on the provided storeStat object. * * @param storeStat The nitrobase file stat object. * @returns The nitrobase path. */ export declare function getStorePath(storeStat: StoreFileStat): string; //# sourceMappingURL=main.d.ts.map