broccoli-coffeescript

Compile CoffeeScript

Usage no npm install needed!

<script type="module">
  import broccoliCoffeescript from 'https://cdn.skypack.dev/broccoli-coffeescript';
</script>

README

Description

broccoli-coffeescript is used to compile coffeescrip to javascript

Install

npm install broccoli-coffeescript  

Usage

var coffeescript = require("broccoli-coffeescript");    
coffeescript(tree, options);    

Options

wrapper

If set true (default is false), the compiler will not emit a top-level function wrapper

sourceMap

default false

header

It will be emited into the javascript file on the top

Issues

new Issue