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