Skip to content

LinusU/gopher-hcl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gopher HCL

The official HCL library, compiled to JavaScript with GopherJS.

Installation

npm install --save gopher-hcl

Usage

const hcl = require('hcl')
const fs = require('fs')

const source = fs.readFileSync('test.hcl')
const result = hcl.parse(source)

console.log(result)

API

.parse(source: string | Buffer) => object

Parses the provided HCL and returns the javascript representation.

About

The official HCL library, compiled to JavaScript with GopherJS

Resources

Stars

Watchers

Forks

Packages

No packages published