Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including litejs with all npm packages installed. Try it out:

var litejs = require("litejs")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

litejs v19.6.1

Single-page application framework

LiteJS – size

The best way to build fast and powerful web interfaces.

Weighing in at just 28KB (12KB gzipped), it includes everything you need to build a modern web application:

  • routed views with browser history management

  • reusable templates and custom elements

  • asynchronous and dynamic code loading

  • translations with instant language switching - no page reload required

    .. and more with no dependencies

  • date parsing and formating

  • string formating

  • keyboard shortcuts

See a working example with a source code in 80 lines. It is also possible to build full SVG single-page applications (example with a source code in 60 lines).

Get Started

Build your first LiteJS app with in 5 minute Quick Start Guide. See wiki for more.

External links

GitHub repo | npm package | Travis CI | Coveralls code coverage

Licence

Copyright (c) 2013-2019 Lauri Rooden <lauri@rooden.ee>
The MIT License

Metadata

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free