Installation
LogTape is available on JSR and npm. You can install LogTape for various JavaScript runtimes and package managers:
sh
deno add jsr:@logtape/logtapesh
npm add @logtape/logtapesh
pnpm add @logtape/logtapesh
yarn add @logtape/logtapesh
bun add @logtape/logtapeNOTE
Although JSR supports Node.js and Bun, we recommend to install LogTape from JSR only for Deno. For Node.js and Bun, we recommend to install LogTape from npm.
In case you want to install an unstable version of LogTape:
sh
npm add @logtape/logtape@devsh
pnpm add @logtape/logtape@devsh
yarn add @logtape/logtape@devsh
bun add @logtape/logtape@devNOTE
Although JSR supports unstable releases, there is currently no way to install the latest unstable version of a package using deno add; instead, you need to specify the specific version number of the unstable release:
sh
deno add jsr:@logtape/logtape@1.2.3-dev.4 # Replace 1.2.3-dev.4 with the actual version number