Skip to content

malinajs/malinajs

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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 consists of vanilla JavaScript, look at examples. TodoMVC example 2.7kb (gzipped) and source code.

For documentation about Malinajs, please visit our website.
Also, please join our community on Discord or Telegram.

tools

Articles

The Gist

<script>
  let name = 'world';
    
  function rename() {
    name = 'user';
  }
</script>

<h1>Hello {name.toUpperCase()}!</h1>
<button @click={rename}>Rename</button>

Quick Start

You can get started with a simple app by running the following in your terminal:

npx create-malina myapp
cd myapp
npm run dev
# open http://localhost:7000/

Or via Docker:

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

Build compiler

npm install
npm run build

License

MIT

About

Frontend compiler, inspired by Svelte

Resources

License

Stars

Watchers

Forks