VNDB fork of mithril.js
Find a file
Claudia Meadows b8f5a10022
Update _post-comment.yml
Passed the secret wrong.
2024-09-23 04:56:16 -07:00
.github Update _post-comment.yml 2024-09-23 04:56:16 -07:00
api Kick promise polyfill 2022-05-30 08:38:13 +02:00
assets Add Open Collective asset [skip ci] 2020-09-14 19:06:56 -07:00
docs Fix outstanding docs issues, so everything checks (again). 2024-09-23 04:54:23 -07:00
examples fix strange behavior, bump marked.js version up 2024-09-23 04:51:11 -07:00
pathname allow trailing slash for routes - fixes #2763 2022-05-30 08:34:05 +02:00
performance Consistent naming of Mithril.js 2022-02-19 12:06:39 +01:00
querystring Catch malformed URI Components 2022-02-20 12:47:29 +01:00
render Remove dependance on global window and document (#2897) 2024-09-23 04:54:03 -07:00
request inline obsolete factory 2022-06-06 12:56:25 +02:00
scripts Migrate to maintained html-minifier fork 2024-09-23 04:54:51 -07:00
stream Release Artifacts for v2.2.3 2023-01-25 07:17:06 +11:00
test-utils Remove dependance on global window and document (#2897) 2024-09-23 04:54:03 -07:00
tests Kick jsonp - fixes #2682 2022-06-06 12:56:25 +02: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 Add code owners, add triage ping, fix workflows 2024-09-23 04:54:24 -07: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 Rewrite docs linter 2024-09-23 04:54:17 -07: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 camelCase file references dom-for -> domFor 2022-06-21 17:02:05 +02:00
LICENSE docs: Adding license file. (#1583) 2017-02-01 09:25:00 -08:00
mithril.js Release Artifacts for v2.2.3 2023-01-25 07:17:06 +11:00
mithril.min.js Release Artifacts for v2.2.3 2023-01-25 07:17:06 +11: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 Bump lint-staged from 13.2.1 to 15.2.10 2024-09-23 04:56:00 -07:00
package.json Bump lint-staged from 13.2.1 to 15.2.10 2024-09-23 04:56:00 -07:00
README.md Update README.md 2024-09-23 04:54:24 -07: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 Kick promise polyfill 2022-05-30 08:38:13 +02: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   Zulip, join chat

What is Mithril.js?

A modern client-side JavaScript framework for building Single Page Applications. It's small (9.14 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 Zulip, 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 Zulip stream and ask away!


Thanks for reading!

🎁