potato-console
v1.0.1
Published
A stupidly simple rewrite of console that won't automaticly change line after output
Downloads
7
Readme
potato-console
A stupidly simple rewrite of console that won't automaticly change line after output
Usage
var potato = require('potato-console');
var pconsole = potato.console; //The console object of potato-console
pconsole.log('Hello Potato Console'); //Will output "Hello Potato Console" without starting a new line
pconsole.log('Hello Potato Console\n'); //Will start a new line cause the \n
pconsole.error('Oops!'); //Will output to stderr, will automaticly start a new line
For more API Usage, see API Doc
Powered by JSDoc
License
Copyright (c) 2019 Andy Chen MIT