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.
- Host: GitHub
- URL: https://github.com/zydnar/coffee-includer
- Owner: Zydnar
- License: mit
- Created: 2017-11-01T18:01:11.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-24T22:26:23.000Z (over 8 years ago)
- Last Synced: 2025-02-17T21:43:41.041Z (over 1 year ago)
- Topics: coffee-script, coffeescript, concat, include
- Language: JavaScript
- Homepage:
- Size: 40 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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