NodeJS style IO for jetpack
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
@modules/raw.github.com/Gozala Add submodules for dependencies. Apr 10, 2012
raw.github.com/Gozala Add module links for compatibility with current cfx. Apr 10, 2012
.gitignore
.gitmodules
History.md
Readme.md
buffer.js
fs.js
io.js
net.js
package.json
stream.js

Readme.md

This is in process of being intergrated into SDK:

https://github.com/mozilla/addon-sdk/pull/646

fs

NodeJS filesystem API for Jetpack.

Install

To use this package you will need [npm][http://npmjs.org/] and graphquire.

git clone git://github.com/Gozala/jetpack-io.git
cd jetpack-io
npm install graphquire -g
npm link

Use

You can use this package with a help of graphquire. To do so just use one of the following requires in your module:

require('https://raw.github.com/Gozala/jetpack-io/v0.1.0/fs.js')
require('https://raw.github.com/Gozala/jetpack-io/v0.1.0/net.js')
require('https://raw.github.com/Gozala/jetpack-io/v0.1.0/stream.js')

And make sure to run npm link in your project before running.

Alternatively you can install package as described in a previous section and use this it as a dependency.