This release is 2 versions behind 0.8.1 — the latest version of @logtape/logtape. Jump to latest
Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
Built and signed on GitHub Actions
Simple logging library with zero dependencies for Deno/Node.js/Bun/browsers
This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers




JSR Score
100%
Published
3 months ago (0.7.1)
let fs = null; if ( // @ts-ignore: process is a global variable "process" in globalThis && "versions" in globalThis.process && // @ts-ignore: process is a global variable "node" in globalThis.process.versions && typeof globalThis.caches === "undefined" && typeof globalThis.addEventListener !== "function" || "Bun" in globalThis ) { try { fs = await import("node" + ":fs"); } catch (e) { if (e instanceof TypeError) { fs = null; } else { throw e; } } } export default fs;