Description
Monkberry is blazingly fast, small 1kb and simple JavaScript library for building web user interfaces.
Monkberry alternatives and similar libraries
Based on the "MVC Frameworks and Libraries" category.
Alternatively, view Monkberry alternatives based on common mentions on social networks and blogs.
-
react-native
A framework for building native applications using React -
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web. -
react
A declarative, efficient, and flexible JavaScript library for building user interfaces. -
backbone
Give your JS App some Backbone with Models, Views, Collections, and Events -
preact
⚛️ Fast 3kB React alternative with the same modern API. Components & Virtual DOM. -
ember.js
Ember.js - A JavaScript framework for creating ambitious web applications -
nativescript
⚡ Empowering JavaScript with native platform APIs. ✨ Best of all worlds (TypeScript, Swift, Objective C, Kotlin, Java). Use what you love ❤️ Angular, Capacitor, Ionic, React, Svelte, Vue and you name it compatible. -
Alpine.js
A rugged, minimal framework for composing JavaScript behavior in your markup. -
GrapesJS
Free and Open source Web Builder Framework. Next generation tool for building templates without coding -
hyperapp
1kB-ish JavaScript framework for building hypertext applications. -
inferno
:fire: An extremely fast, React-like JavaScript library for building modern user interfaces -
mithril.js
A JavaScript Framework for Building Brilliant Applications -
knockout
Knockout makes it easier to create rich, responsive UIs with JavaScript -
Adonis
🚀 The Node.js Framework highly focused on developer ergonomics, stability and confidence -
aurelia
The Aurelia 1 framework entry point, bringing together all the required sub-modules of Aurelia. -
Stimulus
A modest JavaScript framework for the HTML you already have [Moved to: https://github.com/hotwired/stimulus] -
Rete.js
JavaScript framework for visual programming and creating node editor #StandWithUkraine -
derby
MVC framework making it easy to write realtime, collaborative applications that run in both Node.js and browsers -
litegraph.js
A graph node engine and editor written in Javascript similar to PD or UDK Blueprints, comes with its own editor in HTML5 Canvas2D. The engine can run client side or server side using Node. It allows to export graphs as JSONs to be included in applications independently. -
FFCreator
一个基于node.js的高速视频制作库 A fast video processing library based on node.js -
FoalTS
Full-featured Node.js framework, with no complexity. 🚀 Simple and easy to use, TypeScript-based and well-documented. -
rxweb
Tons of extensively featured packages for Angular, VUE and React Projects -
atvjs
Blazing fast Apple TV application development using pure JavaScript
Appwrite - The Open Source Firebase alternative introduces iOS support
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of Monkberry or a related project?
README
Monkberry
Monkberry is blazingly fast, small 1kb
and simple JavaScript library for building web user interfaces.
Example
Monkberry comes with powerfull templating engine, which is compiled to JavaScript.
<ol>
{% for todos %}
<li>
{% if complete %}
<del>{{ text }}</del>
{% else %}
<em>{{ text }}</em>
{% endif %}
</li>
{% endfor %}
</ol>
and then
import Monkberry from 'monkberry';
import Template from 'template.monk';
const view = Monkberry.render(Template, document.body);
view.update({todos: [...]});
Features
- Small
1kb
minified & gzipped - Simple, small learning curve
- Fully tested
- Precompiled templates
- Source maps
- Custom tags
- Blazingly fast (only necessary dom updates)
Documentation
Documentation available on monkberry.js.org site.
Development
If you want to hack on Monkberry, the first step is to fork the repo.
# Build compiler
npm run build
# Build parser
npm run build:parser
# Watch changes and rebuild
npm run watch
# Start tests server
testem
Plugins
Performance
Benchmarks
Why is Monkberry so fast? Even in comparison with React, Monkberry is 10 times faster, sometimes 100 times faster. It's because Monkberry will do only necessary dom updates, and does it in a completely different way than React does. Monkberry compiles template to plain JavaScript to gain an advantage by using v8 hidden classes and reduce call stack. There is no virtual dom (in general, an react app have to keep 3 virtual doms), for example next template will be generated to JavaScript code which will do only necessary dom updates on state changes.
<div>
...
<h1>{{ title }}</h1>
...
</div>
Will be compiled to code like this:
function (state) {
h1.textContent = state.title;
}
Benchmarks covers a few use cases and compares Monkberry with React and innerHTML. Also, it contains real site code and data.
License
The MIT License (MIT) Copyright © 2016 Medvedev Anton
*Note that all licence references and agreements mentioned in the Monkberry README section above
are relevant to that project's source code only.