Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    brainypublic

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

    brainy is a nodejs server built on top of connect and socket.io. you can run it as a standalone program or include it in your own server. much like socket.io, 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
    brainy
    

    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.

    Keywords

    none

    install

    npm i brainy

    Downloadsweekly downloads

    7

    version

    0.0.2

    license

    none

    last publish

    collaborators

    • avatar