SkillAgentSearch skills...

Json2yaml

Javascript JSON to YAML converter

Install / Use

/learn @jeffsu/Json2yaml
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

json2yaml

Converts json or simple javascript objects into a yaml format.

Installation

Include json2yaml.js (in src directory) via script tag and then run:

var obj  = { hello: 'world', hello2: [ 'hello', 'world' ] };
var yaml = json2yaml(obj);
console.log(yaml);

This outputs

hello: world
hello2:
  - hello
  - world
View on GitHub
GitHub Stars42
CategoryDevelopment
Updated1y ago
Forks25

Languages

JavaScript

Security Score

75/100

Audited on Feb 20, 2025

No findings