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

bin+lib glass-easel-template-compiler

The template compiler of the glass-easel project

8 releases (4 breaking)

new 0.5.3 May 15, 2024
0.5.2 May 13, 2024
0.4.0 Apr 9, 2024
0.3.1 Mar 1, 2024
0.1.1 Feb 3, 2023

#1252 in Web programming

Download history 133/week @ 2024-02-14 24/week @ 2024-02-21 150/week @ 2024-02-28 10/week @ 2024-03-06 4/week @ 2024-03-13 4/week @ 2024-03-27 77/week @ 2024-04-03 46/week @ 2024-04-10 220/week @ 2024-05-01 126/week @ 2024-05-08

346 downloads per month
Used in glass-easel-i18n

MIT license

445KB
11K 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

~13–27MB
~437K SLoC