No description or website provided.
JavaScript
Pull request Compare This branch is 3 commits behind proxv:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
LICENSE
README.md
index.js
package.json

README.md

node-xvfb: easily start and stop an X Virtual Frame Buffer from your node apps.

Usage

var Xvfb = require('xvfb');
var xvfb = new Xvfb();
xvfb.start();

// code that uses the virtual frame buffer here

xvfb.stop();

The Xvfb constructor takes two options:

  • displayNum - the X display to use, defaults to the lowest unused display number >= 99 if reuse is false or 99 if reuse is true.
  • reuse - whether to reuse an existing Xvfb instance if it already exists on the X display referenced by displayNum

Thanks to

Both of which served as inspiration for this package.