VNDB fork of mithril.js
Find a file
dependabot[bot] 93896faadb Bump minimist from 1.2.5 to 1.2.6
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-21 15:35:54 +00:00
.github tweak the CI actions names 2022-06-10 18:34:05 +02: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 Actually remove ospec from the main code base (#2786) 2022-06-10 18:33:17 +02:00
examples Consistent naming of Mithril.js 2022-02-19 12:06:39 +01: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 Add tests for the hooks for a delayed removal in a fragment, address other review concerns 2022-06-21 17:02:05 +02:00
request inline obsolete factory 2022-06-06 12:56:25 +02: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 Address review comments, linter and build concerns 2022-06-21 17:02:05 +02: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 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 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 inline obsolete factory 2022-06-06 12:56:25 +02:00
mithril.min.js inline obsolete factory 2022-06-06 12:56:25 +02: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 minimist from 1.2.5 to 1.2.6 2022-06-21 15:35:54 +00:00
package.json implement m.domFor() and use it internally to move and remove nodes. Fix #2780 2022-06-21 17:02:05 +02:00
README.md inline obsolete factory 2022-06-06 12:56:25 +02: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.17 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!

🎁