Stream render pipeline
File generation strategy for working with creating/modifying files using gulp
Installation
npm i stream-render-pipeline
Usage
Creating a render pipeline (./pipes/text.js)
const lazypipe = ; const gulpPlugins = 'gulp'; const File = ; moduleexports = superopts get let foo = thisdata; return // Template file ; // Templating
Creating a generator function
const dest = ; const inquirer = ; const TextFile = ; /** * Generate text file */ module { let defaults = foo: 'bar' ; return inquirerprompt // Questions ; }
Running render pipeline
gulp text
Structure
- /pipes
- /presets
- /questions
- /templates