VNDB fork of mithril.js
Find a file
2020-11-08 15:05:17 -08:00
.github Runtime-deprecate ospec, change change-log to changelog, fix a few assorted bugs (#2578) 2020-09-29 13:27:07 -07:00
api Runtime-deprecate ospec, change change-log to changelog, fix a few assorted bugs (#2578) 2020-09-29 13:27:07 -07:00
assets Add Open Collective asset [skip ci] 2020-09-14 19:06:56 -07:00
docs Allow Mithril to be loaded in non-browser environments without modification (#2633) 2020-10-14 03:12:47 -07:00
examples replace slave label with replica (#2605) 2020-06-19 09:15:19 -07:00
ospec Fix inconsistent capitalizations of "JavaScript" (#2639) 2020-11-08 15:05:17 -08:00
pathname Runtime-deprecate ospec, change change-log to changelog, fix a few assorted bugs (#2578) 2020-09-29 13:27:07 -07:00
performance Add streams to releases again, include minified bundle, drop in… (#2539) 2019-10-03 04:58:14 -04:00
promise Runtime-deprecate ospec, change change-log to changelog, fix a few assorted bugs (#2578) 2020-09-29 13:27:07 -07:00
querystring Runtime-deprecate ospec, change change-log to changelog, fix a few assorted bugs (#2578) 2020-09-29 13:27:07 -07:00
render Runtime-deprecate ospec, change change-log to changelog, fix a few assorted bugs (#2578) 2020-09-29 13:27:07 -07:00
request Runtime-deprecate ospec, change change-log to changelog, fix a few assorted bugs (#2578) 2020-09-29 13:27:07 -07:00
scripts Fix inconsistent capitalizations of "JavaScript" (#2639) 2020-11-08 15:05:17 -08:00
stream Runtime-deprecate ospec, change change-log to changelog, fix a few assorted bugs (#2578) 2020-09-29 13:27:07 -07:00
test-utils Runtime-deprecate ospec, change change-log to changelog, fix a few assorted bugs (#2578) 2020-09-29 13:27:07 -07:00
tests Runtime-deprecate ospec, change change-log to changelog, fix a few assorted bugs (#2578) 2020-09-29 13:27:07 -07:00
util Runtime-deprecate ospec, change change-log to changelog, fix a few assorted bugs (#2578) 2020-09-29 13:27:07 -07: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 the scripts to work as advertised 2019-08-17 21:58:57 -04:00
.eslintrc.js Revert eslintrc change, return Promise instead of using async/await 2017-11-29 17:03:07 +01:00
.gitattributes Fix assets [skip ci] 2020-09-14 18:55:29 -07:00
.gitignore Pimp the docs linter (and assorted changes) (#2553) 2019-12-19 23:40:52 +01:00
.npmignore Exclude archive of previous docs (#2561) 2020-01-05 11:29:41 -05:00
.travis.yml Add streams to releases again, include minified bundle, drop in… (#2539) 2019-10-03 04:58:14 -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 Add m.censor, adjust m.route.Link to use it (#2538) 2019-09-30 18:44:39 -04:00
LICENSE docs: Adding license file. (#1583) 2017-02-01 09:25:00 -08:00
mithril.js docs: Fix simple typo, subsequece -> subsequence (#2582) 2020-04-08 12:07:28 -07:00
mithril.min.js v2.0.4 2019-08-18 14:21:31 -04:00
mount-redraw.js Allow Mithril to be loaded in non-browser environments without modification (#2633) 2020-10-14 03:12:47 -07:00
mount.js Deservicify core (#2458) 2019-07-07 18:28:43 -04:00
package-lock.json Unbreak tests 2020-10-14 03:28:45 -07:00
package.json Unbreak tests 2020-10-14 03:28:45 -07:00
README.md Fix inconsistent capitalizations of "JavaScript" (#2639) 2020-11-08 15:05:17 -08:00
redraw.js Deservicify core (#2458) 2019-07-07 18:28:43 -04:00
render.js Allow Mithril to be loaded in non-browser environments without modification (#2633) 2020-10-14 03:12:47 -07:00
request.js Allow Mithril to be loaded in non-browser environments without modification (#2633) 2020-10-14 03:12:47 -07:00
route.js Allow Mithril to be loaded in non-browser environments without modification (#2633) 2020-10-14 03:12:47 -07: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.79 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!

🎁