A Javascript Framework for Building Brilliant Applications
Permalink
Failed to load latest commit information.
.github chore: removing myself due to chronic lack of time Sep 13, 2018
api Correct test scripts Dec 30, 2017
bundler Fix #2232 - wrongly matching prop after comments ending with a dot (#… Oct 14, 2018
docs Avoid triggering `Object.prototype.__proto__` with keys (#2251) Oct 15, 2018
examples Prevent create empty item May 1, 2017
module lint Sep 24, 2016
ospec Fix custom elements attribute application, improve key checking Sep 20, 2018
performance [performance] use individual files rather than the build, revamp the … Jun 7, 2018
promise Better tests for Promise.prototype.finally Feb 19, 2018
querystring allow array data in m.request Jan 23, 2017
render Avoid triggering `Object.prototype.__proto__` with keys (#2251) Oct 15, 2018
request Add support for setting `responseType` of xhr via m.request options Aug 20, 2018
router "use strict" and other linty fixes Mar 3, 2017
stream Fix #1714 conditionally halting stream (#2200) Aug 8, 2018
test-utils Unbreak accidental back-compat break with event optimization (#2222) Sep 18, 2018
tests Correct test scripts Dec 30, 2017
util don't return from withAttr Jan 23, 2017
.deploy.enc Set up repo for travis commits (#1210) Aug 4, 2016
.editorconfig clean up repo Jan 30, 2017
.eslintignore docs: readme rework (#1898) Jul 13, 2017
.eslintrc.js Revert eslintrc change, return Promise instead of using async/await Oct 28, 2017
.gitattributes Missed a word [skip ci] Jul 22, 2017
.gitignore "use strict" and other linty fixes Mar 3, 2017
.npmignore Update package lockfile and danger/lint-staged Aug 25, 2017
.travis.yml [chore] remove Danger for now May 15, 2018
LICENSE docs: Adding license file. (#1583) Feb 1, 2017
README.md Bundled output for commit 68e412b [skip ci] Oct 14, 2018
browser.js "use strict" and other linty fixes Mar 3, 2017
hyperscript.js "use strict" and other linty fixes Mar 3, 2017
index.js Separate Promise implementation from polyfilling Feb 19, 2018
mithril.js Bundled output for commit 88b17c1 [skip ci] Oct 15, 2018
mithril.min.js Bundled output for commit 88b17c1 [skip ci] Oct 15, 2018
mount.js "use strict" and other linty fixes Mar 3, 2017
package-lock.json Bundled output for commit 0484758 [skip ci] May 29, 2018
package.json [chore] remove Danger for now May 15, 2018
redraw.js "use strict" and other linty fixes Mar 3, 2017
render.js "use strict" and other linty fixes Mar 3, 2017
request.js "use strict" and other linty fixes Mar 3, 2017
route.js "use strict" and other linty fixes Mar 3, 2017
stream.js "use strict" and other linty fixes Mar 3, 2017

README.md

mithril.js NPM Version NPM License NPM Downloads

Build Status Gitter

What is Mithril?

A modern client-side Javascript framework for building Single Page Applications. It's small (8.87 KB gzipped), fast and provides routing and XHR utilities out of the box.

Mithril is used by companies like Vimeo and Nike, and open source platforms like Lichess 👍.

Browsers all the way back to IE9 are supported, no polyfills required 👌.

Installation

CDN

<script src="https://unpkg.com/mithril"></script>

npm

$ npm install mithril

The "Getting started" guide is a good place to start learning how to use mithril.

Documentation

Documentation lives on mithril.js.org.

You may be interested in the API Docs, a Simple Application, or perhaps some Examples.

Getting Help

Mithril has an active & welcoming community on Gitter, or feel free to ask questions on Stack Overflow using the mithril.js tag.

Contributing

There's a Contributing FAQ on the mithril site that hopefully helps, but if not definitely hop into the Gitter Room and ask away!


Thanks for reading!

🎁