xPack Mock Console v1.0.0 released
· One min read
Version 1.0.0 is the first release; it uses the code
extracted from @xpack/logger
.
The xPack Mock Console project is a TypeScript and dual mode CommonJS/ECMAScript Node.js module.
Prerequisites
The xPack Mock Console is a portable Node.js project, to install and use it, the only requirement is a recent Node.js (>= 18.0.0).
Install
For installation instructions, please refer to the Install Guide page.
Import
To include this module in TypeScript and ECMAScript modules, use import
:
import { MockConsole } from '@xpack/mock-console'
In JavaScript with CommonJS, use require()
:
const { MockConsole } = request('@xpack/mock-console')
Source code
Bug fixes
- none
Enhancements
- none
Known problems
- none
CI tests
Before publishing, a set of tests were performed . The results are available from: