1.1.1 • Published 9 years ago

sodor v1.1.1

Weekly downloads
4
License
MIT
Repository
github
Last release
9 years ago

Controller dispatching for Livewire. Which lets you write routes like

class Post extends Controller {
  read(id) { ... }
  @put update(id) { ... }
  @post delete(id) { ... }
}
/* ES6 with Traceur annotations */

where the function arguments become URL parameters and http method decorators do what you think.

Installation

npm install sodor

Usage

Declare a few controller classes, then call e.g. Post.routes() and pass it to livewire.route.

For more information see the API docs

Licence

MIT. © 2014 Matt Brennan

1.1.1

9 years ago

1.1.0

10 years ago

1.0.0

10 years ago

0.3.1

10 years ago

0.3.0

10 years ago

0.2.1

10 years ago

0.2.0

10 years ago

0.1.0

10 years ago