1.0.2 • Published 9 years ago

string-includer v1.0.2

Weekly downloads
4
License
ISC
Repository
github
Last release
9 years ago

String includer

Parse html/js/css files - and parse include strings - to compile to a new file

Install

  npm install string-includer -S

Usage

  var stringinclude = require('string-includer');
  var cont = fs.readFileSync('./test/test.html');
  
  // test.html = 
  //  include partial-1.html
  //  include partial-2.html
  //  contents of original file
  
  var newstring = stringinclude(cont,'./test');
  
  // newstring = 
  //  contents of partial-1
  //  contents of partial-2
  //  contents of original file

License

MIT © Dmitri Kunin

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago