1.0.2 • Published 7 years ago
stdin-to-files-cli v1.0.2
stdin-to-files-cli
npm package is for reading data from a process stream (stdin) and saving data into files.
installation
npm install stdin-to-files-cli -g
usage
example with Browserify and google-closure-compiler (Windows):
browserify js/index.js | google-closure-compiler | stdin-to-files-cli -b "(()=>{" -a "})()" -o a/a.js b/b.js
where -o - output files separated by space -b - the string which will be appended before data (optional) -a - the string which will be appended after data (optional)