@esmbly/printer
v0.0.6
Published
Logging utilities for Esmbly, a composable transpiler infrastructure for working with statically typed JavaScript and WebAssembly
Downloads
8
Readme
@esmbly/printer
Shared printing utilities for Esmbly.
Used by @esmbly/core
, @esmbly/cli
and the transformers.
Usage
import { printer } from '@esmbly/printer';
// Print some info
printer.print('some info..');
// Print an error
printer.error('an error..');
// Print warnings
printer.printWarnings([Warning]);
// Silence the printer
printer.setErrorStream(null);
printer.setOutStream(null);
Contributing
All types of contributions are very much welcome. Check out our Contributing Guide for instructions on how to get started.