potato-console

A stupidly simple rewrite of console that won't automaticly change line after output

Usage no npm install needed!

<script type="module">
  import potatoConsole from 'https://cdn.skypack.dev/potato-console';
</script>

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