LemonadeJS is a lightweight (7 KB), reactive JavaScript micro-library for building reusable components and web interfaces with two-way data binding. Current stable version is 5.3.6, released in 2024. It requires no transpiler, Babel, or external dependencies, and works in both Node.js (ESM/CJS) and the browser via CDN. Key differentiators: tiny footprint, framework-agnostic, native jSuites integration, and a simple API using tagged template literals. Ideal for developers who want reactivity without the overhead of larger frameworks like React or Vue.
npm install lemonadejsNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates a simple counter component with two-way data binding and event handling using LemonadeJS.
Use ESM imports: import lemonade from 'lemonadejs'
Define component as: function MyComp() { return render => render`...`; }Use onclick="${myFunction}" instead of onclick="myFunction()"Use `this` instead of `self` in :loop templates.
Import lemonade: import lemonade from 'lemonadejs'
Use ESM: import lemonade from 'lemonadejs'; or include script tag from CDN.
Ensure component returns: return render => render`...`;
Initialize properties with `this.prop = value` inside the component function.
Ensure the bound variable is an array: this.items = [];