coffee-includer

1.1.3 • Public • Published

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

Package Sidebar

Install

npm i coffee-includer

Weekly Downloads

3

Version

1.1.3

License

none

Last publish

Collaborators

  • zydnar