bin+lib glass-easel-template-compiler

The template compiler of the glass-easel project

18 releases (9 breaking)

new 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

#495 in Web programming

Download history 21/week @ 2024-06-30 179/week @ 2024-07-07 5/week @ 2024-07-14 244/week @ 2024-07-21 23/week @ 2024-07-28 110/week @ 2024-08-04 8/week @ 2024-08-11 265/week @ 2024-09-08 207/week @ 2024-09-15 37/week @ 2024-09-22 85/week @ 2024-09-29 1/week @ 2024-10-06 118/week @ 2024-10-13

255 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–28MB
~445K SLoC