Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/akrymski/espresso.js
Super minimal MVC library
https://github.com/akrymski/espresso.js
backbone es6 javascript js mvc react reactjs vue vuejs
Last synced: about 2 months ago
JSON representation
Super minimal MVC library
- Host: GitHub
- URL: https://github.com/akrymski/espresso.js
- Owner: akrymski
- License: mit
- Created: 2014-11-04T18:04:42.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2021-11-23T17:14:32.000Z (almost 3 years ago)
- Last Synced: 2024-07-26T13:40:56.467Z (about 2 months ago)
- Topics: backbone, es6, javascript, js, mvc, react, reactjs, vue, vuejs
- Language: JavaScript
- Homepage:
- Size: 107 KB
- Stars: 533
- Watchers: 20
- Forks: 25
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Espresso.js
Espresso.js is a tiny MVC library inspired by [Backbone](http://backbonejs.org) and [React](http://facebook.github.io/react/) with a focus on simplicity and speed.
We've aimed to bring the ideas of unidirectional data flow of [Flux](http://facebook.github.io/flux/docs/overview.html) to a simple, Backbone-style library.
### Features
- tiny, less than 500 lines and 3kb gzipped
- zero dependencies
- performance and memory focused
- does not aim to support anything below IE10, but may work on older browsers using a [shim](https://github.com/termi/ES5-DOM-SHIM)### Documentation
Backbone-style docs can be found [here](http://krymski.com/espresso.js)
All documentation is automatically generated from `docs/index.md` using [Bocco](https://github.com/akrymski/bocco).
### Getting Started
If you're using Browserify or Node/CommonJS, simply install the package:
```$ sudo npm install --save espresso.js```
Alternatively grab the [standalone version](https://rawcdn.githack.com/akrymski/espresso.js/fc0f21d08810e95326431dbaa0f0a1cb6e3adec3/espresso.min.js) that you can import with a `` tag or checkout the [GitHub Repo](https://github.com/akrymski/espresso.js).
Now dive in and check out the [To-Do Example](https://raw.githack.com/akrymski/espresso.js/master/examples/todomvc/index.html) app.
### Testing
``` bash
$ npm test
```### Building
If you need to use this module outside a CommonJS environment,
you can build a standalone UMD module as follows:``` bash
$ npm run build
```