VNDB fork of mithril.js
Find a file
James Forbes ea8094bd95
Remove label triggers from actions.yml
Triggering multiple concurrent runs unnecessarily
2022-04-28 23:12:50 +10:00
.github Remove label triggers from actions.yml 2022-04-28 23:12:50 +10:00
api Fix wording 2022-02-27 18:54:30 +01:00
assets Add Open Collective asset [skip ci] 2020-09-14 19:06:56 -07:00
docs Revisions based on feedback 2022-04-27 21:01:09 +02:00
examples Consistent naming of Mithril.js 2022-02-19 12:06:39 +01:00
ospec Fix naming 2022-03-02 07:35:35 +01: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 Consistent naming of Mithril.js 2022-02-19 12:06:39 +01:00
promise Fix lint errors 2022-02-22 09:01:10 +01:00
querystring Catch malformed URI Components 2022-02-20 12:47:29 +01:00
render Fix naming 2022-03-02 07:35:35 +01:00
request Send URLSearchParams as request body without extra configuration (#2695) 2022-01-31 10:12:02 +01:00
scripts Update release docs 2022-04-27 21:01:09 +02:00
stream Add meta description to docs 2022-02-19 12:06:39 +01:00
test-utils Center docs again 2022-02-27 18:54:11 +01:00
tests Fix ospec timeout usage 2022-02-12 12:19:35 +01:00
util m.censor: work around a bunder bug (#2752) 2022-03-01 11:27:47 +01: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 Fix lint errors 2022-02-22 09:01:10 +01:00
.eslintrc.js Fix lint errors 2022-02-22 09:01:10 +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 Consistent naming of Mithril.js 2022-02-19 12:06:39 +01: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 a m.Fragment = "[" utility for JSX users. 2022-02-20 12:23:44 +01:00
LICENSE docs: Adding license file. (#1583) 2017-02-01 09:25:00 -08:00
mithril.js m.censor: work around a bunder bug (#2752) 2022-03-01 11:27:47 +01:00
mithril.min.js m.censor: work around a bunder bug (#2752) 2022-03-01 11:27:47 +01: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 Revisions based on feedback 2022-04-27 21:01:09 +02:00
package.json Remove version and release npm hooks 2022-04-27 21:01:09 +02:00
README.md Fixed badges, consistent naming of Mithril.js 2022-02-23 10:05:42 +01: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   License   npm Downloads   Build Status   Donate at OpenCollective   Gitter

What is Mithril.js?

A modern client-side JavaScript framework for building Single Page Applications. It's small (10.05 KB gzipped), fast and provides routing and XHR utilities out of the box.

Mithril.js is used by companies like Vimeo and Nike, and open source platforms like Lichess 👍.

Mithril.js 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.js.

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.js 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.js site that hopefully helps, but if not definitely hop into the Gitter Room and ask away!


Thanks for reading!

🎁