Skip to content
Matreshka.js framework
JavaScript HTML
Latest commit 8da1eb2 May 21, 2016 @finom finom update deps & rebuild

README.md

Matreshka.js Framework GitHub version npm version

Matreshka Website

Build Status devDependency Status Dependency Status Issue Stats Issue Stats Coverage Status Join the chat at https://gitter.im/finom/matreshka

<input class="first-name" type="text">
<input class="last-name" type="text">

<output class="last-name"></output>

<script src="matreshka.min.js"></script>
<script>
var app = new Matreshka();

app.bindNode({
    firstName: 'input.first-name',
    lastName: 'input.last-name',
    fullName: 'output.full-name'
})
.linkProps('fullName', 'firstName lastName', function(firstName, lastName) {
    return firstName + ' ' + lastName;
});

app.firstName = 'Brendan';
app.lastName = 'Eich';

alert(app.fullName);
</script>

Matreshka is small and powerful reactive JavaScript framework that allows you to build single page applications as easy as possible.

  • Two-way data-bindings in JavaScript files.
  • It's simple. Really. You don't need to learn mass of articles to get started.
  • Custom architecture. You can choose any way how you build an application.
  • It's fast!

Sponsoring by Shooju


Download

Install via NPM

npm install --save matreshka

Install via Bower

bower install matreshka

CDN

<script src="https://cdn.jsdelivr.net/matreshka/latest/matreshka.min.js"></script>

Resources

License: MIT License

Something went wrong with that request. Please try again.