Skip to content


Subversion checkout URL

You can clone with
Download ZIP
A framework for building awesome knockout.js apps
JavaScript CSS
Branch: master
Failed to load latest commit information.
dist Fixed non amd local storage reference
docs Got pubsub working
examples Got pubsub working
lib Fixed non amd local storage reference
server Fixed the examples to use the new models and collections
test Got pubsub working in the viewModels
Gruntfile.js Working on some pretty massive updates to the model - not done, but t…
LICENSE Initial commit Added more docs
bower.json v0.0.6
ko-ninja.gif Added icon image
package.json Update package.json
server.js Made ko ninja work without amd

A framework for building awesome knockout.js apps.

The idea behind is that knockout has amazing two way binding functionallity, but not a lot of conventions for how to write ViewModels, Models, Collections and such. provides methods to create view models, models and collections in a clean and reusable fashion that provide some built in helpers.

Installation can be used by downloading the dist/ file or using bower:

bower install is available as an AMD module, so just require it and you are good to go. Something like this will do just fine:

define([''], function (ko) {

If your project isn't using AMD, will also work as a non-AMD script like this:

<script src="bower_components/dist/"></script>

Using ko.Ninja

Development is built using grunt and bower. To run the build...

npm install && bower install

To run the tests...

grunt test
# or
grunt server # to run the tests in your browser at localhost:8003/qunit.html

There is also a built in server to run the provided examples...

grunt server # localhost:8003
Something went wrong with that request. Please try again.