The Wayback Machine - https://web.archive.org/web/20190616041709/https://github.com/MithrilJS/mithril.js
Skip to content
A JavaScript Framework for Building Brilliant Applications
Branch: next
Clone or download
fuzetsu and isiahmeadows support falsy arguments in Object.assign polyfill (#2433)
* support falsy arguments in Object.assign polyfill

* add tests for assign polyfill
Latest commit 10f0b49 Jun 15, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Create FUNDING.yml Jun 14, 2019
api Streamline route/request path handling and split params + body in req… May 29, 2019
bundler Fix some linter issues, update ESLint (#2318) Nov 30, 2018
docs Improve initial request docs example (#2430) Jun 12, 2019
examples Fix mixed content error. (#2383) Mar 2, 2019
module Officially drop IE9-10 support, pull out our hacks (#2296) Nov 27, 2018
ospec Drop ESM support (#2366) May 29, 2019
pathname support falsy arguments in Object.assign polyfill (#2433) Jun 16, 2019
performance [performance] use individual files rather than the build, revamp the … Jun 7, 2018
promise Merge branch 'next' Oct 25, 2018
querystring Streamline route/request path handling and split params + body in req… May 29, 2019
render Handle `[` fragment selector. Fixes #2349 (#2352) Jan 7, 2019
request Make `m.request` work with `async`/`await` correctly. (#2428) Jun 10, 2019
router Streamline route/request path handling and split params + body in req… May 29, 2019
stream Add missing line May 31, 2019
test-utils Bring some sanity to request parsing and error handling (#2335) May 29, 2019
tests Remove `m.prop` + `m.withAttr` (#2317) Dec 1, 2018
.deploy.enc Maybe *this* time, everything should magically work... May 29, 2019
.editorconfig clean up repo Jan 30, 2017
.eslintignore Drop ESM support (#2366) May 29, 2019
.eslintrc.js Revert eslintrc change, return Promise instead of using async/await Nov 29, 2017
.gitattributes Drop ESM support (#2366) May 29, 2019
.gitignore Maybe *this* time, everything should magically work... May 29, 2019
.npmignore Update package lockfile and danger/lint-staged Aug 25, 2017
.travis.yml Drop ESM support (#2366) May 29, 2019
LICENSE docs: Adding license file. (#1583) Feb 1, 2017
README.md Bundled output for commit 794e8e9 [skip ci] May 29, 2019
browser.js "use strict" and other linty fixes Mar 3, 2017
hyperscript.js "use strict" and other linty fixes Mar 3, 2017
index.js Streamline route/request path handling and split params + body in req… May 29, 2019
mithril.js v2.0.0-rc.6 May 31, 2019
mithril.min.js v2.0.0-rc.6 May 31, 2019
mount.js "use strict" and other linty fixes Mar 3, 2017
package-lock.json v2.0.0-rc.6 May 31, 2019
package.json v2.0.0-rc.6 May 31, 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 "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 Donate at OpenCollective

Build Status Gitter

What is Mithril?

A modern client-side Javascript framework for building Single Page Applications. It's small (9.31 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@next/mithril.js"></script>
<!-- or -->
<script src="https://cdn.jsdelivr.net/npm/mithril@next/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.