@chakrajs/framework
Version:
Modular JavaScript framework for building decentralized apps
83 lines (55 loc) • 2.83 kB
Markdown
# Chakra Framework
[](http://cubefuse.org)
[](https://github.com/standard/standard)
[](https://github.com/RichardLitt/standard-readme)
[](https://travis-ci.org/cubefuse/chakra)
[](https://codecov.io/gh/cubefuse/chakra)
[](https://www.npmjs.com/package/@chakrajs/framework)
[](https://cubefuse.github.io/chakra-docs)
[](https://cubefuse.github.io/chakra)
> Modular JavaScript framework for building decentralized apps
## Table of Contents
- [Getting Started](#getting-started)
- [Development Setup](#development-setup)
- [Maintainers](#maintainers)
- [Contribute](#contribute)
- [License](#license)
## Getting Started
### npm package
This is the recommended method for using Chakra.
```sh
npm install @chakrajs/framework
```
If you are using `yarn` (recommended), use this instead.
```sh
yarn add @chakrajs/framework
```
### `<script>` include
Directly include with `<script>` tag on your html pages. This only works for web browsers.
`Chakra` would be included as a global variable.
- Download and use
Downloads can be found in the [GitHub Releases](https://github.com/cubefuse/chakra/releases) page.
- Use from CDN
```html
<!-- Development version -->
<script src="https://unpkg.com/@chakrajs/framework/dist/index.js"></script>
<!-- Minified version -->
<script src="https://unpkg.com/@chakrajs/framework/dist/index.min.js"></script>
```
Please read the [Documentation](https://cubefuse.github.io/chakra-docs) and the [API Reference](https://cubefuse.github.io/chakra) to start building Chakra Apps.
## Development Setup
```sh
git clone https://github.com/cubefuse/chakra.git
cd chakra
yarn install
```
- The code can be built for both Node.js and the browser by `yarn build`.
- To run the tests and generate coverage reports, use `yarn test` and `yarn coverage`.
- Code linting with the JavaScript Standard Style is available with `yarn lint`.
- Code documentation can be built with `yarn docs`.
## Maintainers
[@mprasanjith](https://github.com/mprasanjith)
## Contribute
We welcome your pull requests and bug reports.
## License
MIT © 2018 Cubefuse