Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
CommonJS modules for developing Chrome Extensions
branch: master

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.

Something went wrong with that request. Please try again.