rocketlog
v0.1.1RocketLog (WIP)
Bring console.log to terminal. Say goodbye to 'The console had gone before I opening the dev tool!'.
Screenshot
Install
$ npm install rocketlog -g # Global RocketLog to run socket server.
<script src="path/to/rocketlog.js"></script>
or use CommonJS:
$ npm install rocketlog
const Rocket = require('rocketlog');
Usage
Rocket.log('This is log')
Rocket.error('This is error')
Rocket.warn('This is warn')
Notes
You should remove the whole
rocketlog.js
in production environment without worring about theRocket.log()
not work. It will work when there is noRocketLog
asconsole.log()
.Connecting to socket server needs some time. So the faster console before connecting to socket server will not display on terminal.
License
MIT License