npm.io
0.0.0-pre0 • Published 7 years ago

lit-mustache

Licence
Apache-2.0
Version
0.0.0-pre0
Deps
0
Size
2 kB
Vulns
0
Weekly
0

lit-mustache

Usage

const mustache = require('lit-mustache')
const template = (scope) => mustache`<p>{{name}}</p>`(scope)

syntax highlighting for vscode

https://github.com/direktspeed/vscode-lit-mustache

TODO

Will Work mustache should have access to this as scope and so use its name needs evaluation whats the this context when imported and used as function mustache and fat arrow

const mustache = require('lit-mustache');
const template = (name) => mustache`<p>{{name}}</p>`;

need to add some more tests

Keywords