node-browser-logger

1.0.1 • Public • Published

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

Package Sidebar

Install

npm i node-browser-logger

Weekly Downloads

1

Version

1.0.1

License

ISC

Unpacked Size

46.6 kB

Total Files

9

Last publish

Collaborators

  • aditya-kumar