# CoffeeCompiler
[CoffeeScript]( compiler for elixir

[![CI](]( [![ version](](

## Documentation

API documentation is available at [](

## Installation

Add `coffee_compiler` to your list of dependencies in `mix.exs`:

def deps do
    {:coffee_compiler, "~> 0.1"}

## Usage

coffee = "/path/to/"
{:ok, "console.log(\"Application\")"}

Coffee.compile(coffee, [root_path: "/absolute/path/to/import/file"})
{:ok, "var o;o=function(o){return`this is Foo file: ${o}`};console.log(o)"}

You should pass an `root_path` parameter if you use `@import` derective to include some code
Use relavtive paths `@import  ./relative/path/to/file` in **.coffee** files

## License

CoffeeCompiler is released under [the MIT License](./LICENSE)