node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org ยป


brainy enables you to simply synchronize client state across multiple clients.

brainy is a nodejs server built on top of connect and you can run it as a standalone program or include it in your own server. much like, it requires both a server and client library. the client library is currently only included with an app created via brainy tools.

to install brainy:

npm install brainy -g

to create a new brainy app:

brainy new

to run your new brainy app:

cd brainy-app

then navigate to http://localhost:8000. you will have a bare bones brainy app with one simple global model which you can manipulate in the console. you will notice that this model remains magically synced across multiple clients whenever it is changed.