#template #compiler #wasm #glass-easel #browser #framework #target

bin+lib glass-easel-template-compiler

The template compiler of the glass-easel project

18 releases (9 breaking)

0.10.3 Oct 17, 2024
0.9.0 Aug 7, 2024
0.8.2 Jul 24, 2024
0.3.1 Mar 1, 2024
0.1.1 Feb 3, 2023

#1290 in Web programming

Download history 250/week @ 2024-07-22 17/week @ 2024-07-29 114/week @ 2024-08-05 4/week @ 2024-08-12 273/week @ 2024-09-09 211/week @ 2024-09-16 26/week @ 2024-09-23 84/week @ 2024-09-30 1/week @ 2024-10-07 130/week @ 2024-10-14 7/week @ 2024-10-21 6/week @ 2024-11-04

143 downloads per month
Used in glass-easel-i18n

MIT license

480KB
12K SLoC

glass-easel-template-compiler

The template compiler for the glass-easel project.

Refer to the glass-easel project for further details.

Build

rust toolchain and wasm-pack should be globally installed.

Build WebAssembly binary:

wasm-pack build glass-easel-template-compiler --target nodejs --out-dir pkg-nodejs

Build binary:

cargo build --release

Build for simple browser usage:

wasm-pack build glass-easel-template-compiler --target no-modules --out-dir pkg-web

See the main project for the detailed usage.

Dependencies

~15–29MB
~443K SLoC