How to install xpm Core Library
Prerequisites
A recent Node.js (>=20.0), as the TypeScript code is compiled into ECMAScript 2020 code, and the tests utilise ES6 modules.
Installation
The package is available as
@xpack/xpm-lib
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/xpm-lib is:
npm install @xpack/xpm-lib@latest
To install a specific version, specify it explicitly:
npm install @xpack/xpm-lib@4.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/xpm-lib may be uninstalled
from the project and the dependency removed from package.json with:
npm uninstall @xpack/xpm-lib