New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

lbrow

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lbrow

You can make node print content output to the browser for easy viewing

latest
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

lbrow

介绍

可以将 nodejs 的输出内容,打印到浏览器上,方便查看

使用说明

tip: 如果使用时,发现端口被占用,传入对应参数进行更替

const Browser = require("lbrow");

let browser = new Browser(); // Browser(express_port = 3000, websocket_port = 8001)
browser.log(1);
browser.log("b");
browser.log("c");
browser.log("牛逼啊老铁");
browser.log({ a: 1, b: 2 });
browser.log(process.pid);
browser.log(process.ppid);

Keywords

log

FAQs

Package last updated on 20 Apr 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts