Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

81 lines (46 sloc) 2.139 kb

Yahoo! Mojito

Mojito is the JavaScript library implementing Cocktails, a JavaScript-based on-line/off-line, multi-device, hosted application platform.

Build Status


via GitHub

$ git clone git://
$ cd mojito
$ npm install -g .
$ npm install .

via npm

$ npm install -g mojito

Quick Start

Create an app and install local Mojito:

$ mojito create app hello
$ cd hello
$ npm install .

Create a mojit:

$ mojito create mojit HelloMojit

Start the server:

$ mojito start

Go to URL:


Run Unit Tests:

$ mojito test app .

Generate documentation:

$ mojito docs app hello



API Documentation


Licensing and Contributions

Mojito is licensed under a BSD license. To contribute to the Mojito project, please see Contributing.

The Mojito project is a meritocratic, consensus-based community project which allows anyone to contribute and gain additional responsibilities.

Third-party libraries

Mojito includes the Mulib software available here:

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