Skip to content
Browse files

readme

  • Loading branch information...
0 parents commit c825bdcf797cb37a3ca43e5eaa56cc0a9d3a45ce @dominictarr committed Dec 7, 2012
Showing with 39 additions and 0 deletions.
  1. +39 −0 README.md
39 README.md
@@ -0,0 +1,39 @@
+# r-edit
+
+Collaborative Editing the EASY way.
+
+<img src=https://secure.travis-ci.org/dominictarr/r-edit.png?branch=master>
+
+## example
+
+see r-edit/example
+
+``` js
+//client.js
+var REdit = require('r-edit')
+
+var r = REdit().wrap(textarea)
+
+var stream = shoe('/redit')
+
+stream.pipe(r.createStream()).pipe(stream)
+
+```
+
+```
+//server.js
+var REdit = require('r-edit')
+
+var r = REdit().wrap(textarea)
+
+var stream = shoe('/redit')
+
+shoe(function (stream) {
+ stream.pipe(r.createStream()).pipe(stream)
+}).install(httpServer)
+```
+
+
+## License
+
+MIT

0 comments on commit c825bdc

Please sign in to comment.
Something went wrong with that request. Please try again.