Skip to content

buildingkit/js-hcl

Repository files navigation

hcl

Parse and stringify HCL v1 with JavaScript

example

import hcl from "@buildingkit/hcl";

(async () => {
  const obj = await hcl.parse(`service {
        key = "value"
    }`);

  console.log(obj.service[0].key);
})();

About

Parse and stringify HCL with JavaScript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published