Skip to content
This repository

Work with models in your JavaScript

This branch is 0 commits ahead and 58 commits behind master

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 dist Version 0.11.0. March 07, 2012
Octocat-spinner-32 docs
Octocat-spinner-32 lib
Octocat-spinner-32 src
Octocat-spinner-32 test
Octocat-spinner-32 CHANGELOG.markdown Version 0.11.0. March 07, 2012
Octocat-spinner-32 Gemfile
Octocat-spinner-32 Gemfile.lock
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README.markdown It's 2012. March 07, 2012
Octocat-spinner-32 Rakefile
Octocat-spinner-32 VERSION Version 0.11.0. March 07, 2012
Octocat-spinner-32 index.html Version 0.11.0. March 07, 2012


js-model is a library that allows you to work with models in your JavaScript.

In brief

Declare a model class:

var Todo = Model("todo")

Now create and manipulate model instances:

var todo = new Todo({ text: "do it" })
todo.attr("when", "now")

Documentation / download / more

For notes on getting started, persisting via REST or localStorage, using with Sammy, API documentation and download links visit the js-model docs site.

Suggestions / questions / issues / comments

Feel free to use Github issues for any of the above.


Copyright 2010-2012 Ben Pickles. See LICENSE for details.

Something went wrong with that request. Please try again.