VNDB fork of mithril.js
Find a file
2019-07-27 19:19:24 -04:00
.github Update issue templates (#2485) 2019-07-24 06:45:49 -04:00
api Fix link + docs (#2476) 2019-07-16 16:03:24 -04:00
bundler Fix lint issues, run npm audit fix 2019-07-12 15:40:07 -04:00
docs Preparing for release 2019-07-27 19:19:24 -04:00
examples Update migration, fix various minor issues 2019-07-24 05:01:20 -04:00
module Officially drop IE9-10 support, pull out our hacks (#2296) 2018-11-27 18:04:15 -05:00
ospec Fix #1881 + related ospec bug (#2492) 2019-07-26 18:19:40 -04:00
pathname Fix #2443 (#2451) 2019-07-03 14:41:48 -04:00
performance Deservicify core (#2458) 2019-07-07 18:28:43 -04:00
promise Merge branch 'next' 2018-10-25 14:23:33 -04:00
querystring Prevent prototype pollution while parsing query strings (#2494) 2019-07-27 17:39:55 -04:00
render Fix #1881 + related ospec bug (#2492) 2019-07-26 18:19:40 -04:00
request Deservicify core (#2458) 2019-07-07 18:28:43 -04:00
scripts Fix release script 2019-07-27 18:02:05 -04:00
stream Update migration, fix various minor issues 2019-07-24 05:01:20 -04:00
test-utils Fix #1881 + related ospec bug (#2492) 2019-07-26 18:19:40 -04:00
tests Partially recast the router API to be a lot more intuitive. (#2469) 2019-07-12 15:29:37 -04:00
.deploy.enc Maybe *this* time, everything should magically work... 2019-05-29 11:44:57 -04:00
.editorconfig Refactor scripts (#2465) 2019-07-27 15:12:49 -04:00
.eslintignore Refactor scripts (#2465) 2019-07-27 15:12:49 -04:00
.eslintrc.js Revert eslintrc change, return Promise instead of using async/await 2017-11-29 17:03:07 +01:00
.gitattributes Drop ESM support (#2366) 2019-05-29 09:24:10 -04:00
.gitignore Refactor scripts (#2465) 2019-07-27 15:12:49 -04:00
.npmignore Fix m.version to not depend on package.json (#2464) 2019-07-09 19:26:00 -04:00
.travis.yml Refactor scripts (#2465) 2019-07-27 15:12:49 -04:00
browser.js "use strict" and other linty fixes 2017-03-03 18:24:38 -05:00
hyperscript.js "use strict" and other linty fixes 2017-03-03 18:24:38 -05:00
index.js Drop m.version (#2466) 2019-07-10 14:04:44 -04:00
LICENSE docs: Adding license file. (#1583) 2017-02-01 09:25:00 -08:00
mithril.js v2.0.0-rc.9 2019-07-16 21:59:00 -04:00
mithril.min.js v2.0.0-rc.9 2019-07-16 21:59:00 -04:00
mount-redraw.js Deservicify core (#2458) 2019-07-07 18:28:43 -04:00
mount.js Deservicify core (#2458) 2019-07-07 18:28:43 -04:00
package-lock.json Refactor scripts (#2465) 2019-07-27 15:12:49 -04:00
package.json Refactor scripts (#2465) 2019-07-27 15:12:49 -04:00
README.md Update migration, fix various minor issues 2019-07-24 05:01:20 -04:00
redraw.js Deservicify core (#2458) 2019-07-07 18:28:43 -04:00
render.js "use strict" and other linty fixes 2017-03-03 18:24:38 -05:00
request.js Deservicify core (#2458) 2019-07-07 18:28:43 -04:00
route.js Deservicify core (#2458) 2019-07-07 18:28:43 -04:00
stream.js "use strict" and other linty fixes 2017-03-03 18:24:38 -05:00

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

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

<!-- Production: whichever you prefer -->
<script src="https://unpkg.com/mithril/mithril.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/mithril/mithril.min.js"></script>

npm

npm install mithril --save

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

TypeScript type definitions are available from DefinitelyTyped. They can be installed with:

$ npm install @types/mithril --save-dev

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!

🎁