@w-lfpup/coyote
v0.1.1
Published
html templates
Downloads
142
Readme
Coyote-js
Create html with function components in Typescript / Javascript.
There are no dependencies.
Install
npm install --save-dev https://github.com/wolfpup-software/coyote-jsComponents
Create documents with coyote components.
import { tmpl } from "coyote";
function hai() {
return tmpl`<p>hai :3</p>`;
}Document Builders
Render components as html with document builders.
import { Coyote, tmpl } from "coyote";
function hai() {
return tmpl`<p>hai :3</p>`;
}
let coyote = new Coyote();
let [document, _error] = coyote.render(hai());
console.log(document);The output will be:
<p>hai :3</p>License
Coyote-js is released under the BSD 3-Clause License.
