Skip to main content

Getting Started with the xPack Mock Console

license GitHub Repo stars

Separate User/Contributor/Maintainer pages

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.

note

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.

tip

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.

Documentation

The project documentation is currently available exclusively on the project's website.

Release schedule

There are no scheduled releases; the project adheres to a continuous release approach, with updates deployed as development progresses.

Releases

The list of releases is available in the Releases pages.

Change log

The release and change log is available in the repository CHANGELOG.md file.

Support & feedback

The quick advice for getting support and providing feedback is to use the GitHub Discussions.

For additional information, please refer to the Help Centre page.

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

Unless otherwise stated, the original content is released under the terms of the MIT License, with all rights reserved by Liviu Ionescu.

MacStadium

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:

  • Donate: Your contributions, whether small or generous, help us keep the xPack projects thriving. Donate
  • Star the project on GitHub: It helps others discover our work.
  • Follow us on X/Twitter: Stay updated with our latest releases and news.