#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

#1177 in Web programming

Download history 142/week @ 2024-02-16 24/week @ 2024-02-23 145/week @ 2024-03-01 8/week @ 2024-03-08 2/week @ 2024-03-15 10/week @ 2024-03-29 104/week @ 2024-04-05 13/week @ 2024-04-12 241/week @ 2024-05-03 229/week @ 2024-05-10

470 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–26MB
~433K SLoC