Transpile Sweet.js macros
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
test
.editorconfig
.gitattributes
.gitignore
.jshintrc
.travis.yml
index.js
license
package.json
readme.md

readme.md

broccoli-sweetjs Build Status

Transpile Sweet.js macros

Issues with the output should be reported on the Sweet.js issue tracker.

Install

$ npm install --save-dev broccoli-sweetjs

Usage

var sweetjs = require('broccoli-sweetjs');
tree = sweetjs(tree, options);

API

sweetjs(tree, [options])

options

modules

Type: array
Default: []

A list of macros you want to use.

Use the same syntax as you would in require():

  • npm module: 'module-name'
  • local file: './file-name'
readtables

Type: array
Default: []

A list of readtable extensions you want to use.

Use the same syntax as you would in require():

  • npm module: 'module-name'
  • local file: './file-name'

License

MIT © Sindre Sorhus