Getting Started with the xPack Mock Console
To meet the specific needs of different audiences, this site features separate User's Guide, Contributor's Guide and Maintainer's Guide pages. This way, each group can easily find the information and resources most relevant to them.
This project provides a TypeScript Node.js CommonJS/ES6 module with a mock console to be used during tests to check the program output.
Compatibility with legacy CommonJS is required until VS Code extensions will be updated to import ES6 modules.
The open source project is hosted on GitHub as xpack/mock-console-ts and is published on npmjs.com as @xpack/mock-console.
Install
The xPack Mock Console is a npm package available as @xpack/mock-console from the npmjs.com public registry and can be installed via npm.
The easiest way to get the install command is from the website's homepage. Simply hover the mouse over the command, and a copy button will appear on the right side. Click it to copy the command.
For comprehensive installation instructions, please visit the Install Guide page.
Status
The @xpack/mock-console
module is currently under development.
This module is intended to be included in tests.
Compatibility notices
According to SemVer rules:
Major version X (X.y.z | X > 0) MUST be incremented if any backwards incompatible changes are introduced to the public API.
v1.0.0
The initial version, extracted from logger-ts
and cli-start-options-ts
.
License
The original content is released under the MIT License, with all rights reserved to Liviu Ionescu.
Credits
Special thanks to MacStadium, for providing the Apple Silicon development infrastructure as part of their generous Free and Open Source Software program.
Thanks to Shields IO for the badges.
Enjoyed using this project? Let us know!
If you enjoyed using this project, please let us know! Here are some ways you can show your support: