Skip to content

ExternKit/extern-js-yamljs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

extern-js-yamljs

  • Target : Javascript (NodeJS + Browser)
  • Library : yamljs
  • Last tested version : 0.2.6
  • Available on : Github - NPM

Usage

import js.yamljs.*;

class Main
{
  static function main()
  {
    // parse YAML string 
    var nativeObject = Yaml.parse(yamlString);
 
    // Generate YAML 
    var yamlString = Yaml.stringify(nativeObject, 4);
 
    // Load yaml file using YAML.load 
    nativeObject = Yaml.load('myfile.yml');
  }
}

About

Javascript yamljs library extern

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages