How to install xPack Logger
Prerequisites
A recent Node.js (>=22.12), as the TypeScript code is compiled into ECMAScript 2020 code, and the tests use ES6 modules.
Installation
The package is available as
@xpack/logger
from the public npmjs repository;
it may be added as a
dependency to any TypeScript or JavaScript
project.
The command to install the latest available version of @xpack/logger is:
npm install @xpack/logger@latest
To install a specific version, specify it explicitly:
npm install @xpack/logger@7.0.0
The package does not provide any executables, and generally there are no reasons to install it globally.
Uninstall
As with any npm package, @xpack/logger may be uninstalled
from the project and the dependency removed from package.json with:
npm uninstall @xpack/logger