This extracts several utility functions from VSCode / Monaco (VSCode "common" library).
The source is downloaded and built from: https://github.com/microsoft/vscode/tree/main/src/vs/base/common
npm install vscode-lib
Example code to access all exports from https://github.com/microsoft/vscode/blob/main/src/vs/base/common/event.ts:
import { event } from "vscode-lib";
npm install
npm run update
npm run build
As the source code is extracted from https://github.com/microsoft/vscode, it's license (MIT) applies.