UNPKG

can-stache-helpers

Version:
33 lines (20 loc) 710 B
# can-stache-helpers [![Build Status](https://travis-ci.org/canjs/can-stache-helpers.svg?branch=master)](https://travis-ci.org/canjs/can-stache-helpers) Helper functions for can-stache ## Usage ### ES6 use With StealJS, you can import this module directly in a template that is autorendered: ```js import plugin from "can-stache-helpers"; ``` ### CommonJS use Use `require` to load `can-stache-helpers` and everything else needed to create a template that uses `can-stache-helpers`: ```js import plugin from "can-stache-helpers"; ``` ### Standalone use Load the `global` version of the plugin: ```html <script src='./node_modules/can-stache-helpers/dist/global/can-stache-helpers.js'></script> ```