Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including hcl2json with all npm packages installed. Try it out:

hcl2json lists no main file and has no index.js, so it can't be directly required. If this is a mistake, please let us know. It may however contain internal files that you can require manually:

// require("hcl2json/[??]")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

hcl2json v0.2.0

hcl to json converter binary


This tool implements only the -reverse option of json2hcl and provides binaries for all major platforms. With the help of go-npm it can be installed via npm install -g @terrastack/json2hcl or used as a dependency in other nodejs project.

The main goal is to convert HCL to JSON.

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free