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

brow-node

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

brow-node

A tool that converts browser JavaScript into Node.js JavaScript.

latest
npmnpm
Version
1.0.7
Version published
Weekly downloads
12
1100%
Maintainers
1
Weekly downloads
 
Created
Source

BrowNodeJS

BrowNodeJS is a tool that converts browser JavaScript into Node.js JavaScript. It replaces browser globals like window, document, and fetch so your browser-focused code can run in Node.js.

NPM

Installation

npm install brow-node

or with yarn:

yarn add brow-node

Usage

Create a brownode.config.js in your project:

module.exports = {
  entry: 'src/index.js',    // Path to your browser JS file
  outDir: 'dist',           // Output directory
  mode: 'development'       // Optional: 'development' or 'production' (You can remove this but the default is production.)
};

Then run:

brow-node --config brownode.config.js

FAQs

Package last updated on 05 Dec 2025

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