JavaScript HTML
Latest commit e46d03f Jun 30, 2018
Permalink
Failed to load latest commit information.
.github Disown myself from render-related fixes [ci skip] Apr 21, 2018
api Correct test scripts Dec 30, 2017
bundler fix: Bundler tests only pass when run from project root Apr 21, 2018
docs Update onbeforeremove animation example to use animationend event Jun 28, 2018
examples Prevent create empty item May 1, 2017
module lint Sep 24, 2016
ospec [ospec] v3.0.1 Jun 30, 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 [render/render] Prevent activeElement.focus on SVGs, fix #1983 Jun 11, 2018
request Lint: Fix quotes in m.request tests (#2033) Nov 29, 2017
router "use strict" and other linty fixes Mar 3, 2017
stream stream: Removed `valueOf` & `toString` methods (fixes #2150) (#2151) May 15, 2018
test-utils [render/render] Test for removing styles and assorted domMock changes Jun 1, 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 571b608 [skip ci] Jun 11, 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 571b608 [skip ci] Jun 11, 2018
mithril.min.js Bundled output for commit 571b608 [skip ci] Jun 11, 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.90 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!

🎁