/concatr

Concats files and either serves them on localhost, or outputs a compiled file.

Primary LanguageJavaScriptMIT LicenseMIT

concatr

Concats files and either serves them on localhost, or outputs a compiled file.

Installing

npm install -g concatr

Usage

Compile an input file to concatr.html:

concatr build FILENAME

Serve an input file on localhost:

concatr serve FILENAME

In the file you're parsing, instances of @include(PATH) will be replaced with either contents of a file, or the contents of all files in a folder (alphabetically).

To do:

  • Make concatr serve watch for changes and update live.
  • Have concatr parse included files for @include tags.
  • Let the user select output file name.