1.0.1 • Published 1 year ago

node-browser-logger v1.0.1

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

Better Node Logs

This package is solves the problem of not being able to view objects in the terminal, even though there are multiple options, I found it easier to create a package for ths problem

Installation

To install the package

  npm install -D node-browser-logger

create a watch script to start the server that'll send the logs from node to browser

   "scripts":{
     "watch":"watch-logs"
   }

Run this command for once in a seperate terminal session

    npm run watch

now for any file you wanna log just add

 require("node-browser-logger").logger(); 
//  your code goes here...
console.log("Something!")

Screenshots

Before

App Screenshot

After

Screenshots

App Screenshot