An open API service indexing awesome lists of open source software.

https://github.com/zydnar/coffee-includer

Using coffee-includer you can finally include files with proper intendation.
https://github.com/zydnar/coffee-includer

coffee-script coffeescript concat include

Last synced: about 1 month ago
JSON representation

Using coffee-includer you can finally include files with proper intendation.

Awesome Lists containing this project

README

          

# coffee-includer

*With coffee-includer you can finally include files with proper intendation.*

## Installation

```bash
npm install coffee-includer -g
```

## Usage

### Include statements

main.coffee

```coffeescript
foo = ->
bar()
#intend include statement according to current scope
#=include
```

file.coffee

```coffeescript
do awsome_things in coding unless
awsome_things is boring
```

output.coffee

```coffeescript
foo = ->
bar()
#file.coffee contents is placed, where you need it!
do awsome_things in coding unless
awsome_things is boring
```

### CLI command

```bash
coffee-includer main.coffee ./build/output.coffee
```

## Looking for gulp plugin?

### See [*gulp-coffee-includer*](https://github.com/Zydnar/gulp-coffee-includer)

## License

### MIT