edward

module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 29, 2015 License: MIT

README

Edward License NPM version Dependency Status

Web editor used in Cloud Commander.

Install

npm i edward

API

Edward could be used as middleware for express. For this purpuse API could be used.

Server
edward(options)

Middleware of edward. Options could be omitted.

var express = require('express'),
    app     = express();

app.use(edward({
    minify  : true,  /* default */
    online  : false, /* default */
    diff    : true,  /* default */
    zip     : true   /* default */
}));

app.listen(31337);
edward.listen(socket)

Could be used with socket.io to handle editor events with.

var io      = require('socket.io'),
    socket  = io.listen(server);

edward.listen(socket);
Client

License

MIT

Directories

Path Synopsis
modules
ace-builds/demo/kitchen-sink/docs command
Concurrent computation of pi.
Concurrent computation of pi.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL