mahalo-transformer
v0.6.0
Published
Transforms Mahalo template files into an exported JavaScript string
Downloads
7
Readme
#mahalo-transformer This module contains a transformer for Mahalo templates. It is used to parse templates into executable JavaScript.
Installation
You should install this package as a development dependency like so:
npm install --save-dev mahalo-transformer
##Usage
import * as mahaloTransformer from 'mahalo-transformer';
let result = mahaloTransformer('<use component="./my-component"/><my-component></my-component>');