jasonette-toolkit

0.0.2 • Public • Published

Build Status codecov Code Climate npm version

Jasonette Toolkit

The Jasonette Toolkit provides a few shortcuts to make it possible to write a Jasonette 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

/jasonette-toolkit/

    Package Sidebar

    Install

    npm i jasonette-toolkit

    Weekly Downloads

    7

    Version

    0.0.2

    License

    MIT

    Last publish

    Collaborators

    • bpitcher