JSPM

mithril

2.0.0-rc.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 17420
  • Score
    100M100P100Q126368F
  • License MIT

A framework for building brilliant applications

Package Exports

  • mithril
  • mithril/hyperscript
  • mithril/mithril
  • mithril/mithril.min.js
  • mithril/mount
  • mithril/ospec/ospec
  • mithril/package.json
  • mithril/promise/promise
  • mithril/querystring/build
  • mithril/querystring/parse
  • mithril/redraw
  • mithril/render
  • mithril/render/fragment
  • mithril/render/hyperscript
  • mithril/render/trust
  • mithril/render/vnode
  • mithril/request
  • mithril/request/request
  • mithril/route
  • mithril/stream
  • mithril/test-utils/browserMock
  • mithril/test-utils/browserMock.js
  • mithril/test-utils/domMock.js
  • mithril/test-utils/pushStateMock
  • mithril/util/withAttr

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (mithril) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

mithril.js NPM Version NPM License NPM Downloads

Build Status Gitter

What is Mithril?

A modern client-side Javascript framework for building Single Page Applications. It's small (8.87 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 👍.

Browsers all the way back to IE9 are supported, no polyfills required 👌.

Installation

CDN

<script src="https://unpkg.com/mithril"></script>

npm

$ npm install mithril

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!

🎁