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

browser-window

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

browser-window

A helpful `BrowserWindow` wrapper.

latest
Source
npmnpm
Version
0.4.0
Version published
Weekly downloads
29
20.83%
Maintainers
1
Weekly downloads
 
Created
Source

browser-window NPM version Build Status experimental

A helpful BrowserWindow wrapper.

// Initialize module
const browser = require('browser-window')()

app.on('ready', () => {
  // Create browser window
  const window = browser({
    title: 'Hello world',
    width: 100,
    height: 100
  })

  // Load data
  window.load('<p>Hi, how are you?</p>', {type: 'text/html'})

  // Create children windows
  const child = window.subwindow({title: 'Foo bar'})

  // Send IPC messages
  child.send('some-message', 1, 2, 3)
})

Installation

$ npm install --save browser-window

Documentation

License

MIT © Jamen Marz

FAQs

Package last updated on 30 Nov 2016

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