CommonJS modules for developing Chrome Extensions
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
examples/basic
lib
.gitignore
.npmignore
LICENSE.md
README.md
index.js
package.json

README.md

chrx

CommonJS modules for developing Chrome Extensions

This project is an attempt to collect some reusable modules for developing Chrome Extensions and distribute them via npm.

At time of writing, everything is pretty experimental and unstable.

Installation

Install via npm:

$ npm install chrx

Usage

chrx is designed to be used with browserify (or watchify). This approach is demonstrated in the included examples.

Modules

Background

Modules and methods for use in background or event scripts.

chrx.tabs

Manipulate tabs

chrx.window

Manipulate windows

Content

Modules and methods for use in content scripts.

chrx.frame

Create sandboxed Content environments

Combo

Modules and methods that integrate Background and Content.

chrx.bridge

Create shared Content and Background APIs

Tests

Install dependencies and run:

$ npm install
$ npm test

License

MIT License, see LICENSE for details.