VNDB fork of mithril.js
Find a file
2019-04-01 08:14:38 -04:00
.github Create an Issues Submission Page Enhancement (#2271) 2018-11-28 14:47:27 -05:00
api Feature onmatch route param (#2371) 2019-02-07 05:12:53 -05:00
bundler Fix some linter issues, update ESLint (#2318) 2018-11-30 03:11:07 -05:00
docs Corrected the case issue of 'JavaScript' throughout the docs (#2401) 2019-04-01 08:14:38 -04:00
examples Fix mixed content error. (#2383) 2019-03-02 02:22:39 -05:00
module Officially drop IE9-10 support, pull out our hacks (#2296) 2018-11-27 18:04:15 -05:00
ospec Prepare ospec@3.1.0, mithril-stream@2.0.0 2019-02-07 04:10:12 -05:00
performance [performance] use individual files rather than the build, revamp the attrs code to reduce variance, reset the scratch pad more reliably 2018-06-07 18:09:38 +02:00
promise Merge branch 'next' 2018-10-25 14:23:33 -04:00
querystring allow array data in m.request 2017-01-23 18:03:33 -05:00
render Handle [ fragment selector. Fixes #2349 (#2352) 2019-01-07 04:56:09 -05:00
request Fix m.request/m.jsonp to not mutate arguments, simplify code (#2288) 2018-11-28 20:10:46 -05:00
router "use strict" and other linty fixes 2017-03-03 18:24:38 -05:00
stream Prepare ospec@3.1.0, mithril-stream@2.0.0 2019-02-07 04:10:12 -05:00
test-utils Fix m.request/m.jsonp to not mutate arguments, simplify code (#2288) 2018-11-28 20:10:46 -05:00
tests Remove m.prop + m.withAttr (#2317) 2018-11-30 20:41:24 -05:00
.deploy.enc Swap out keys so they use mine (#2393) 2019-03-09 02:04:30 -05:00
.editorconfig clean up repo 2017-01-30 11:18:47 -05:00
.eslintignore output mithril, stream and ospec esm versions on build - fixes #2112 (#2194) 2018-11-14 15:37:08 -05:00
.eslintrc.js Revert eslintrc change, return Promise instead of using async/await 2017-11-29 17:03:07 +01:00
.gitattributes Allow variadic arguments to m.fragment (#2328) 2018-12-05 23:57:42 -05:00
.gitignore "use strict" and other linty fixes 2017-03-03 18:24:38 -05:00
.npmignore Update package lockfile and danger/lint-staged 2017-08-25 02:59:38 -04:00
.travis.yml Swap out keys so they use mine (#2393) 2019-03-09 02:04:30 -05:00
browser.js "use strict" and other linty fixes 2017-03-03 18:24:38 -05:00
esm.js update stream export name (esm build) (#2330) 2018-12-04 15:11:38 -05:00
hyperscript.js "use strict" and other linty fixes 2017-03-03 18:24:38 -05:00
index.js Remove m.prop + m.withAttr (#2317) 2018-11-30 20:41:24 -05:00
LICENSE docs: Adding license file. (#1583) 2017-02-01 09:25:00 -08:00
mithril.js Bundled output for commit a9172f1129 [skip ci] 2019-02-07 10:14:46 +00:00
mithril.min.js Bundled output for commit a9172f1129 [skip ci] 2019-02-07 10:14:46 +00:00
mithril.min.mjs Bundled output for commit a9172f1129 [skip ci] 2019-02-07 10:14:46 +00:00
mithril.mjs Bundled output for commit a9172f1129 [skip ci] 2019-02-07 10:14:46 +00:00
mount.js "use strict" and other linty fixes 2017-03-03 18:24:38 -05:00
package-lock.json Bundled output for commit 0707de5867 [skip ci] 2019-03-09 07:06:45 +00:00
package.json Update a few dependencies, update ospec to version 3.1.0 (#2370) 2019-02-05 13:20:55 -05:00
README.md Mithril now accepts donations through OpenCollective (#2363) 2019-02-18 14:21:13 -05:00
redraw.js "use strict" and other linty fixes 2017-03-03 18:24:38 -05:00
render.js "use strict" and other linty fixes 2017-03-03 18:24:38 -05:00
request.js "use strict" and other linty fixes 2017-03-03 18:24:38 -05:00
route.js "use strict" and other linty fixes 2017-03-03 18:24:38 -05: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 (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!

🎁