Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Branch: master
Fetching contributors…
Cannot retrieve contributors at this time
49 lines (30 sloc) 1.31 KB

Get NowJS

NowJS is a NodeJS module. The client javascript (now.js) is served by the NowJS server.

Go to Github or Download the tgz

Install From npm

npm install now

NowJS uses the excellent and node-proxy libraries and portions of sesame

2 Step Setup

1. On the server

var httpServer = require('http').createServer(function(req, response){ /* Serve your static files */ })

var everyone = require("now").initialize(httpServer); = "Hello World!";

2. On the client

<script type="text/javascript" src="http://localhost:8080/nowjs/now.js"></script>

<script type="text/javascript">
    // alerts "Hello World!"

Further Reading

Now that you have NowJS, try the NowJS User Manual and Quick Chat Example

Have more questions? You can reach us in #nowjs on freenode

Jump to Line
Something went wrong with that request. Please try again.