0.0.12 • Published 1 year ago
@ossph/temple-parser v0.0.12
⛩️ Temple Parser
This package is designed for Temple, the reactive web component template engine. See docs for more information.
Parses the Temple markup language to an abstract syntac tree (AST). This is used by the @ossph/temple-compiler to convert the Temple markup language to JavaScript and HTML.
Install
$ npm -i @ossph/temple-parser
Basic Usage
import { TempleParser } from '@ossph/temple-parser';
const ast = TempleParser.parse('<h1>Hello World</h1>');