Skip to content

Installation

LogTape is available on JSR and npm. You can install LogTape for various JavaScript runtimes and package managers:

deno add jsr:@logtape/logtape
npm add @logtape/logtape
pnpm add @logtape/logtape
yarn add @logtape/logtape
bun add @logtape/logtape

NOTE

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:

npm add @logtape/logtape@dev
pnpm add @logtape/logtape@dev
yarn add @logtape/logtape@dev
bun add @logtape/logtape@dev

NOTE

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:

deno add jsr:@logtape/logtape@1.2.3-dev.4 # Replace 1.2.3-dev.4 with the actual version number

AltStyle によって変換されたページ (->オリジナル) /