Skip to content

javascript / typescript library for programatically producing tfvars file

License

Notifications You must be signed in to change notification settings

AgentGoldPaw/tfvars

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tfvars

javascript / typescript library for programatically producing tfvars file

install

npm i @RedMunroe/tfvars

import

import tfvars from '@RedMunroe/tfvars';

usage

new TFVars()
  .addString('name', 'test')
  .addNumber('age', 12)
  .addBoolean('isTrue', true)
  .addMap(
    'map',
    new Map().set('name', 'test').set('age', 12).set('isTrue', true),
  )
  .addList('list', [
    {
      name: 'test',
    },
  ])
  .stdout();
name = "test"
age = 12
isTrue = true
map = object({
   name = "test"
   age = 12
   isTrue = true
})
list = [
object({
   name = "test"
})
]

About

javascript / typescript library for programatically producing tfvars file

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published