0.6.0 • Published 9 years ago

mahalo-transformer v0.6.0

Weekly downloads
5
License
MIT
Repository
github
Last release
9 years ago

#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>');