Skip to content

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

License

Notifications You must be signed in to change notification settings

Zydnar/coffee-includer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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?

License

MIT

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published