rocketlog

0.1.1 • Public • Published

RocketLog (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 the Rocket.log() not work. It will work when there is no RocketLog as console.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

Readme

Keywords

none

Package Sidebar

Install

npm i rocketlog

Weekly Downloads

4

Version

0.1.1

License

MIT

Last publish

Collaborators

  • djyde