UNPKG

2.22 kBMarkdownView Raw
1[LiteJS]: https://www.litejs.com/
2[npm package]: https://npmjs.org/package/litejs
3[GitHub repo]: https://github.com/litejs/litejs
4[wiki]: https://github.com/litejs/litejs/wiki
5[RFC 6570]: http://tools.ietf.org/html/rfc6570
6
7
8LiteJS
9======
10
11The best way to build fast and powerful web interfaces.
12
13Weighing in at just 28KB (12KB gzipped),
14it includes everything you need to build a modern web application:
15
16 - routed views with browser history management
17 - reusable templates by custom element tags
18 - asynchronous and dynamic code loading
19 - translations with instant language switching - no page reload required
20<details>
21 <summary>.. and more with no dependencies</summary>
22
23 - [date parsing and formating](https://github.com/litejs/litejs/wiki/Date)
24 - string formating
25 - [keyboard shortcuts](https://github.com/litejs/litejs/wiki/Keyboard-shortcuts)
26
27</details>
28<p></p>
29
30See a [working example](https://cdn.rawgit.com/litejs/litejs/master/test/ui/example1.html)
31with a [source code](https://github.com/litejs/litejs/blob/master/test/ui/example1.html)
32in 80 lines.
33
34It also supports SVG elements,
35so it is possible to build full SVG single-page applications.
36See a [example](https://cdn.rawgit.com/litejs/litejs/master/test/ui/svg-example1.html)
37with a [source code](https://github.com/litejs/litejs/blob/master/test/ui/svg-example1.html)
38in 60 lines.
39
40
41
42Get Started
43-----------
44
45Build your first LiteJS app with in 5 minute [Quick Start Guide](https://github.com/litejs/litejs/wiki/Quick-Start).
46
47```
48npm install -g litejs
49litejs init demo-project
50cd demo-project
51npm start
52```
53
54See [wiki][] for more.
55
56
57
58External links
59--------------
60
61 - [GitHub repo][]
62 - [npm package][]
63 - [Travis CI](https://travis-ci.org/litejs/litejs)
64 [![Build Status](https://travis-ci.org/litejs/litejs.svg?branch=master)](https://travis-ci.org/litejs/litejs)
65 - [Coveralls code coverage](https://coveralls.io/github/litejs/litejs)
66 [![Coverage Status](https://coveralls.io/repos/github/litejs/litejs/badge.svg?branch=master)](https://coveralls.io/github/litejs/litejs?branch=master)
67
68
69### Licence
70
71Copyright (c) 2013-2018 Lauri Rooden &lt;lauri@rooden.ee&gt;
72[The MIT License](http://lauri.rooden.ee/mit-license.txt)
73
74