UL4 is a cross-platform templating language.
UL4ON is a lightweight machine-readable text-based cross-platform object serialization format.
Apart from this Javascript implementation there are implementations of UL4 and UL4ON for Python and Java.
The Python documentation contains more info on UL4 and UL4ON.
Install the npm packages:
npm install
Build dist/umd/ul4.js
and dist/esm/ul4.js
:
npm run build
In your HTML include the following:
<script src="{path}/dist/umd/ul4.js"></script>
now you can use the Javascript variable ul4
.
Or if you want to use UL4 as a module do
<script type="module">
import * as ul4 from '{path}/dist/esm/ul4.js';
...
</script>
- Walter Dörwald
- Thoralf Hänsel
- Andreas Gaßner