Skip to content
A Javascript Framework for Building Brilliant Applications
Branch: next
Clone or download
Permalink
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
bundler Fix some linter issues, update ESLint (#2318) Nov 30, 2018
docs Fixed wrong setItem params (#2381) Feb 25, 2019
examples
module Officially drop IE9-10 support, pull out our hacks (#2296) Nov 27, 2018
ospec Prepare ospec@3.1.0, mithril-stream@2.0.0 Feb 7, 2019
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
request
router
stream Prepare ospec@3.1.0, mithril-stream@2.0.0 Feb 7, 2019
test-utils
tests Remove `m.prop` + `m.withAttr` (#2317) Dec 1, 2018
.deploy.enc
.editorconfig clean up repo Jan 30, 2017
.eslintignore
.eslintrc.js
.gitattributes
.gitignore "use strict" and other linty fixes Mar 3, 2017
.npmignore Update package lockfile and danger/lint-staged Aug 25, 2017
.travis.yml
LICENSE docs: Adding license file. (#1583) Feb 1, 2017
README.md
browser.js
esm.js update stream export name (esm build) (#2330) Dec 4, 2018
hyperscript.js
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.js
mithril.min.mjs Bundled output for commit a9172f1 [skip ci] Feb 7, 2019
mithril.mjs
mount.js "use strict" and other linty fixes Mar 3, 2017
package-lock.json
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
request.js
route.js "use strict" and other linty fixes Mar 3, 2017
stream.js

README.md

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. 👌

Installation

CDN

<script src="https://unpkg.com/mithril"></script>
<!-- or -->
<script src="https://cdn.jsdelivr.net/npm/mithril/mithril.js"></script>

npm

# 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

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!

🎁

You can’t perform that action at this time.