JavaScript HTML
Permalink
Failed to load latest commit information.
.github change folder of support.md file Dec 4, 2017
api Correct test scripts Dec 30, 2017
bundler fix: closure compiler requires HTTPS now (#2007) Oct 29, 2017
docs docs: Fix wrong link targets and typos (#2066) Jan 3, 2018
examples Prevent create empty item May 1, 2017
module lint Sep 24, 2016
ospec ospec: tests and docs for o.report Nov 30, 2017
performance Make the benchmark a little more precise Aug 31, 2017
promise Adapt test to new async callback behaviour Aug 31, 2017
querystring allow array data in m.request Jan 23, 2017
render render: fix perf regression introduced by #1918 Dec 8, 2017
request Lint: Fix quotes in m.request tests (#2033) Nov 29, 2017
router "use strict" and other linty fixes Mar 3, 2017
stream Correct test scripts Dec 30, 2017
test-utils Correct test scripts Dec 30, 2017
tests Correct test scripts Dec 30, 2017
util don't return from withAttr Jan 23, 2017
.babelrc chore: Implement danger for PRs (#1905) Jul 20, 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: run eslint --fix against commits (#1912) Jul 22, 2017
LICENSE docs: Adding license file. (#1583) Feb 1, 2017
README.md Bundled output for commit 9f09ac0 [skip ci] Dec 4, 2017
browser.js "use strict" and other linty fixes Mar 3, 2017
dangerfile.js chore: ignore test-ospec when checking PRs Aug 7, 2017
hyperscript.js "use strict" and other linty fixes Mar 3, 2017
index.js Expose `Vnode` as `m.vnode` (#1487) Dec 21, 2016
mithril.js Bundled output for commit 1ad9f84 [skip ci] Dec 9, 2017
mithril.min.js Bundled output for commit 1ad9f84 [skip ci] Dec 9, 2017
mount.js "use strict" and other linty fixes Mar 3, 2017
package-lock.json Bundled output for commit 8b56c70 [skip ci] Oct 14, 2017
package.json Update package lockfile and danger/lint-staged Aug 25, 2017
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.59 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!

🎁