0.1.0 • Published 10 years ago
stringit v0.1.0
stringit
Turn the contents of files into Javascript strings. Useful for getting the contents of view files into the browser as Javascript strings.
Getting Started
Install the module with: npm install stringit
node stringit --input=./directory/with/views --output=./assets/js/views.js
input
is a file or directory containing view files. output
is the the path to a file to contain the stringified views.
License
Copyright (c) 2014 Ben Sack Licensed under the MIT license.
0.1.0
10 years ago