rubahjs
v0.3.1
Published
file template and reverse template service that watches and sync for changes
Downloads
5
Readme
file template and reverse template service that watches and sync for changes
this project inspired by plop js and aims to bring project templating to a whole new level.
Rubahjs manage all your data required for templating into a single state tree, and by single function call, you can create all templated file from that single state tree
More over, rubahjs also provide reverse templating (for simple handlebar template) using reversible handlebar. Using Rubahjs you can scan all the files in your project folder, and create a single state tree
Installation
npm install --save rubahjs
Features
Handlebar multi templating:
Create multiple files from single template and the state tree
State extraction:
Extract state data from multiple files
Multiple extractor of single file:
Define multiple overlaping templates to extract a file in various means
File exclusion:
Exclude files from data extraction by rubahjs
Custom reducer:
Use redux reducer to merge extraction data into the state tree
State subscriber:
Create a redux action listener that will trigger on specific action
Non file source:
Extend rubahjs to extract state data from anything