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

bin+lib glass-easel-template-compiler

The template compiler of the glass-easel project

19 releases (10 breaking)

0.11.0 Dec 12, 2024
0.10.3 Oct 17, 2024
0.10.2 Sep 19, 2024
0.8.2 Jul 24, 2024
0.1.1 Feb 3, 2023

#1216 in Web programming

Download history 163/week @ 2024-09-19 77/week @ 2024-09-26 15/week @ 2024-10-03 135/week @ 2024-10-17 2/week @ 2024-10-24 3/week @ 2024-10-31 3/week @ 2024-11-07 22/week @ 2024-12-05 168/week @ 2024-12-12 1/week @ 2024-12-19

169 downloads per month
Used in glass-easel-i18n

MIT license

495KB
13K 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
~449K SLoC