2.0.0 • Published 5 years ago

broccoli-sweetjs v2.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

Deprecated

The Sweet.js project is no longer maintained.


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

2.0.0

5 years ago

1.1.0

9 years ago

1.0.2

9 years ago

1.0.1

10 years ago

1.0.0

10 years ago

0.5.0

10 years ago

0.4.0

10 years ago

0.3.1

10 years ago

0.3.0

10 years ago

0.2.0

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago