Javascript framework
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
dist
src
test
.eslintrc
.gitignore
.travis.yml
CHANGELOG.md
LICENSE
README.md
karma.conf.js
package-lock.json
package.json
webpack.config.js

README.md

Akili [beta] npm version Build Status Coverage Status Join the chat at https://gitter.im/ortexx/akili

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 a complete example of the site's architecture and get the source code.

Installation

You can install it via npm

npm install akili --save

or download and include as script

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

Documentation

Documentation is here.

Additional things

Changelog

A new entry will be added to the changelog after the version's first or second number changing.

License

Akili is MIT licensed.