Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jantimon/handlebars-to-ecmascript

Convert handlebars to an ecmascript AST
https://github.com/jantimon/handlebars-to-ecmascript

Last synced: 28 days ago
JSON representation

Convert handlebars to an ecmascript AST

Awesome Lists containing this project

README

        

# Highly experimental

Proof of concept

Turns a template
```
Hello {{world}}!
```

into a ecmascript module
```js
export function render(data1) {
return 'Hello ' + data1.world + '!';
};
```

# License

This project is licensed under [MIT](https://github.com/jantimon/handlebars-to-ecmascript/blob/master/LICENSE).