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

0.20.7 • Public • Published

@cdktf/hcl-tools

This library is meant to house commonly used HCL tools by CDKTF. Currently, it only supports the hclwrite Golang library and specifically the Format function.

Usage

import { format } from "@cdktf/hcl-tools";

const unformattedHcl = `
resource "random_pet" "my_pet" {
}
`

const formatted = await format(unformattedHcl);

Readme

Keywords

Package Sidebar

Install

npm i @cdktf/hcl-tools

Homepage

cdk.tf

Weekly Downloads

35,517

Version

0.20.7

License

MPL-2.0

Unpacked Size

1.53 MB

Total Files

13

Last publish

Collaborators

  • nara
  • ansgar
  • dschmidt
  • cdktf-team