/rubahjs

file template and reverse template service that watches and sync for changes

Primary LanguageJavaScript

logo

version coverage

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

Create multiple files from single template and the state tree

Extract state data from multiple files

Define multiple overlaping templates to extract a file in various means

Exclude files from data extraction by rubahjs

Use redux reducer to merge extraction data into the state tree

Create a redux action listener that will trigger on specific action

Extend rubahjs to extract state data from anything