Skip to content
A Javascript Framework for Building Brilliant Applications
Branch: next
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Create an Issues Submission Page Enhancement (#2271) Nov 28, 2018
api Feature onmatch route param (#2371) Feb 7, 2019
bundler Fix some linter issues, update ESLint (#2318) Nov 30, 2018
docs Fixed wrong setItem params (#2381) Feb 25, 2019
examples Fix mixed content error. (#2383) Mar 2, 2019
module Officially drop IE9-10 support, pull out our hacks (#2296) Nov 27, 2018
performance [performance] use individual files rather than the build, revamp the … Jun 7, 2018
promise Merge branch 'next' Oct 25, 2018
querystring allow array data in m.request Jan 23, 2017
render Handle `[` fragment selector. Fixes #2349 (#2352) Jan 7, 2019
stream Prepare ospec@3.1.0, mithril-stream@2.0.0 Feb 7, 2019
test-utils Fix `m.request`/`m.jsonp` to not mutate arguments, simplify code (#2288) Nov 29, 2018
.gitignore "use strict" and other linty fixes Mar 3, 2017
LICENSE docs: Adding license file. (#1583) Feb 1, 2017
esm.js update stream export name (esm build) (#2330) Dec 4, 2018
index.js Remove `m.prop` + `m.withAttr` (#2317) Dec 1, 2018
mithril.js Bundled output for commit a9172f1 [skip ci] Feb 7, 2019
mithril.min.mjs Bundled output for commit a9172f1 [skip ci] Feb 7, 2019
mount.js "use strict" and other linty fixes Mar 3, 2017
package.json Update a few dependencies, update ospec to version 3.1.0 (#2370) Feb 5, 2019
redraw.js "use strict" and other linty fixes Mar 3, 2017
render.js "use strict" and other linty fixes Mar 3, 2017
route.js "use strict" and other linty fixes Mar 3, 2017

mithril.js NPM Version NPM License NPM Downloads Donate at OpenCollective

Build Status Gitter

What is Mithril?

A modern client-side Javascript framework for building Single Page Applications. It's small (8.88 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 👍.

Mithril supports IE11, Firefox ESR, and the last two versions of Firefox, Edge, Safari, and Chrome. No polyfills required. 👌



<script src=""></script>
<!-- or -->
<script src=""></script>


# For the most recent stable version
$ npm install mithril --save
# For the most recent unstable version
$ npm install mithril@next --save

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


Documentation lives on

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.


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!


You can’t perform that action at this time.