JSPM

@jdists/handlebars

0.0.6
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q25122F
  • License MIT

handlebars as jdists processor

Package Exports

  • @jdists/handlebars

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@jdists/handlebars) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@jdists/handlebars

handlebars as jdists processor

NPM version Build Status Coverage Status

Example

<!--data>
kids:
  - name: Jimmy
    age: '12'
  - name: Sally
    age: '4'
</data-->

<!--jdists encoding="handlebars" data="?data"-->
<ul>
  {{#kids}}
  <li>{{name}} is {{age}}</li>
  {{/kids}}
</ul>
<!--/jdists-->

<!--extend>
require('handlebars-helpers')({
  handlebars: handlebars
})
</extend-->

<!--handlebars data="?data" extend="?extend"-->
<ul>
  {{#kids}}
  <li>{{name}} is {{toFixed age 2}}</li>
  {{/kids}}
</ul>
<!--/handlebars-->

License

MIT © zswang