js-binder

1.0.0 • Public • Published

Binder.js

Lightweight and powerful data binding system for building user interfaces

A perfect solution for really small projects. It will boost your productivity with < 15Kb script without downloading and compiling a huge amount of code.

Download | Example | Gitlab

Installation

Download and link the binder.min.js into your HTML page.

Quick Start

HTML

<div id="app">
	{{ message }}
</div>

JavaScript

import Binder from 'js-binder'

let app = new Binder(document.getElementById('app'), {
	data: {
		message: 'Hello World'
	}
})

Continue with the template syntax part or with options properties.

Inspired by:

  • Vue.js
  • Rivets.js
  • Twig

License

This project is licensed under the MIT license.

Package Sidebar

Install

npm i js-binder

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

35.2 kB

Total Files

3

Last publish

Collaborators

  • oneside