{"library":"json2yaml","type":"library","category":null,"description":"This package, `json2yaml`, provides a command-line utility and a programmatic API for converting JSON data into human-readable YAML format. First released with a Node.js `0.2.0` engine requirement, its current stable version is 1.1.0. The tool primarily aims to pretty-print JSON, transforming it into the more visually appealing, whitespace-based YAML notation, leveraging the fact that JSON is technically a proper subset of YAML. This means any valid JSON is also valid YAML, but `json2yaml` focuses on converting to the more common, indented YAML style for improved human readability. The project appears to have ceased active development around 9 years ago, suggesting it is no longer actively maintained and may have compatibility issues with modern JavaScript environments.","language":"javascript","status":"abandoned","version":"1.1.0","tags":["javascript","yml","yaml","json","cli","util"],"last_verified":"Wed May 27","install":[{"cmd":"npm install json2yaml","imports":["const YAML = require('json2yaml');","const { stringify } = require('json2yaml');\n// or\nconst YAML = require('json2yaml');\nconst ymlText = YAML.stringify(data);","json2yaml <file.json> > <file.yml>"]},{"cmd":"yarn add json2yaml","imports":[]},{"cmd":"pnpm add json2yaml","imports":[]}],"homepage":null,"github":"https://github.com/coolaj86/json2yaml","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/json2yaml","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/json2yaml/compatibility"}}