akili

1.2.37 • Public • Published

Akili npm version Build status Coverage Status

Akili is a component-based javascript framework. It includes a powerful system of components, router, store to save and distribute data, functions to make ajax requests and some useful utils.

  • very easy for learning, using and testing
  • without any additional dependencies
  • can be used without javascript compilation in all modern browsers
  • pure, lightweight, expandable and powerful framework
  • supports server-side rendering
  • javascript way, without magic

Examples

class HelloWorld extends Akili.Component {
  created() {
    this.scope.count = 0;
    this.scope.title = 'Hello World';
  }
}

Akili.component('hello-world', HelloWorld);

document.addEventListener('DOMContentLoaded', () => {
  Akili.init().catch(err => console.error(err));
});
<body>
  <hello-world>
    <div on-click="${ this.count++ }">
      ${ this.title }: ${ this.count }
    </div>
  </hello-world>
</body>

More simple examples are on the site.
And you can see the complete example of architecture and get the source code.

Installation

You can install it via npm

npm install akili --save

or download and include as a script

<script src="/akili.js"></script>

Documentation

Documentation is here.

Plugins

License

Akili is MIT licensed.

Package Sidebar

Install

npm i akili

Homepage

akilijs.com

Weekly Downloads

29

Version

1.2.37

License

MIT

Unpacked Size

453 kB

Total Files

70

Last publish

Collaborators

  • ortex