version PRs Welcome

Getting Started

Downloading

    
      # Fetch the package with npm
      npm install @berslucas/liljs

      # ...or with yarn
      yarn add @berslucas/liljs
    
  

Usages

ES6 Imports


    <script> type="module">
        import liljs from '../node_modules/@berslucas/liljs/dist/liljs.esm.js';

        liljs(ELEMENT, VALUES)
            .then(app => {
                //app = liljs proxy
        });
    </script>

AMD (RequireJS) or CommonJS (Node)


    let liljs = require('@berslucas/liljs');

    liljs(ELEMENT, VALUES)
        .then(app => {
            //app = liljs proxy
    });

<script> tags

    
      <script src="../node_modules/@berslucas/liljs/dist/liljs.umd.js"></script>
      <script>
        liljs(ELEMENT, VALUES)
        .then(app => {
            //app = liljs proxy
        });
      </script>
    

Demos