https://github.com/brad/jasonette-toolkit
A toolkit to make writing a jasonette app a bit less verbose
https://github.com/brad/jasonette-toolkit
jasonette javascript json webpack
Last synced: 6 months ago
JSON representation
A toolkit to make writing a jasonette app a bit less verbose
- Host: GitHub
- URL: https://github.com/brad/jasonette-toolkit
- Owner: brad
- License: mit
- Created: 2017-04-19T04:36:04.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-04-25T03:08:03.000Z (about 9 years ago)
- Last Synced: 2025-11-01T23:12:46.538Z (8 months ago)
- Topics: jasonette, javascript, json, webpack
- Language: JavaScript
- Size: 13.7 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://travis-ci.org/brad/jasonette-toolkit) [](https://codecov.io/gh/brad/jasonette-toolkit) [](https://codeclimate.com/github/brad/jasonette-toolkit) [](https://badge.fury.io/js/jasonette-toolkit)
# Jasonette Toolkit
The Jasonette Toolkit provides a few shortcuts to make it possible to write a [Jasonette](https://jasonette.com/) with brevity.
For example, Jasonette Toolkit changes this:
```
{
"type": "label",
"text": "Hello world"
}
```
to this:
```
JT.components.label('Hello world')
```
Or this:
```
"ads": [
{
"type": "admob",
"options": {
"type": "banner",
"unitId": "a14dccd0fb24d45"
}
}
]
```
to this:
```
ads: [JT.view.body.ad('admob', 'banner', 'a14dccd0fb24d45')]
```
## Install
`npm install jasonette-toolkit`