0.4.4 • Published 2 years ago

@smburrows/ts-terraform-hcl v0.4.4

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@ts-terraform/hcl

The @ts-terraform/hcl module provides an interface for parsing HCL2 files into an abstract syntax tree.

Usage

import {parse} from '@ts-terraform/hcl'

const {ast, diagnostics} = await parse(filename, source)

filename is a friendly name returned in errors. source is the HCL2 source code as a string. See src/types.ts for the return types.

0.4.4

2 years ago

0.4.2

2 years ago

0.4.1

2 years ago