Skip to content
This repository has been archived by the owner on Oct 25, 2020. It is now read-only.

Latest commit

 

History

History
17 lines (9 loc) · 335 Bytes

README.md

File metadata and controls

17 lines (9 loc) · 335 Bytes

DEPRECATED

Use the parse function exposed in svelte/compiler instead.


Extracted parser class and method from the svelte compiler for use in preprocessors.

Usage

import parse from 'svelte-template-parser'

const ast = parse(template, options as ParserOptions)