#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

#1182 in Web programming

Download history 241/week @ 2024-09-06 189/week @ 2024-09-13 75/week @ 2024-09-20 78/week @ 2024-09-27 12/week @ 2024-10-04 82/week @ 2024-10-11 54/week @ 2024-10-18 1/week @ 2024-10-25 4/week @ 2024-11-01 2/week @ 2024-11-08 127/week @ 2024-12-06 64/week @ 2024-12-13

191 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–28MB
~440K SLoC