Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 767 Bytes

README.md

File metadata and controls

33 lines (22 loc) · 767 Bytes

A Minimalism barebone library to build wep apps in pure JavaScript

For developers who would like to rapidly develope web apps with standard DOM methods.

Usage

  1. Clone the release branch from GitHub in submodule

Example:

$ git submodule add -b release https://github.com/cosmoswafer/lazydom.git
  1. Import from GitHub Pages CDN:

https://cosmoswafer.github.io/lazydom/<module>.js

Example:

<script type="module">
  import {DOM} from 'https://cosmoswafer.github.io/lazydom/dom.js'; //Do
  whatever you want...
</script>

Modules

Modules Description
dom.js Shortcut for using DOM APIs
router.js Simulate router by anchor url