1.1.3 • Published 6 years ago

coffee-includer v1.1.3

Weekly downloads
2
License
-
Repository
github
Last release
6 years ago

coffee-includer

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

Installation

npm install coffee-includer -g

Usage

Include statements

main.coffee

foo = ->
  bar()
  #intend include statement according to current scope
  #=include <path/to/file.coffee>

file.coffee

do awsome_things in coding unless
  awsome_things is boring

output.coffee

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

CLI command

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

Looking for gulp plugin?

See gulp-coffee-includer

License

MIT