This package has been deprecated

Author message:

This package is no longer maintained, please remove from your dependencies

@ts-terraform/hcl
TypeScript icon, indicating that this package has built-in type declarations

0.4.0 • Public • Published

@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.

Readme

Keywords

Package Sidebar

Install

npm i @ts-terraform/hcl

Weekly Downloads

3

Version

0.4.0

License

MIT

Unpacked Size

6.75 MB

Total Files

20

Last publish

Collaborators

  • jacobwgillespie