/malinajs

Frontend compiler, inspired by Svelte

Primary LanguageJavaScriptMIT LicenseMIT

Malina.js

Malina.js builds your web-application to use it without framework on frontend side. Therefore your web-app becomes thinner and faster, and the application itself consist of vanilla JavaScript, look at examples. TodoMVC example 2.7kb (gzipped) and source code

Try Malina.js online

Differences from Svelte.js

Run dev environment:

npx degit malinajs/template myapp
cd myapp
npm install
npm run dev
# open http://localhost:7000/

Run dev environment via docker:

docker run --rm -it --user ${UID} -p 7000:7000 -p 35729:35729 -v `pwd`:/app/src lega911/malina
# open http://localhost:7000/

Build compiler

npm install
npm run build

License

MIT