UNPKG

@dpkit/core

Version:

Fast TypeScript data management framework built on top of the Data Package standard and Polars DataFrames

12 lines (9 loc) 250 B
export const node = await loadNodeApis() export async function loadNodeApis() { if (globalThis.process) { const fs = await import("node:fs/promises") const path = await import("node:path") return { fs, path } } return undefined }