Package
json-to-pretty-yaml
A node module to convert JSON to YAML
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 4.6m
- +54% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 2
- Direct, from package.json
- Last release
- 8 years ago
- v1.2.2
- GitHub stars
- 15
- 6 forks
- Open issues / PRs
- 0 / 1
- Contributors
- -
- Commits, last 52 weeks
- 0
Downloads
Last week 2026-09-15 to 2026-09-21
4,629,051 downloads last week, 22,602,342 in the last month. The 12-month change of +54% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 04 in total
- Latest version
- 1.2.2, 30 Apr 20188 years ago
- First published
- 26 Apr 2018
- Last push to GitHub
- 20 Mar 20212,014 days before the snapshot
- Repository archived
- No
- Open issues
- 0
- Open pull requests
- 1
- Commits, last 52 weeks
- 0
- Dependents on npm
- 164
Major versions
- v1 first release 1.1.0, 26 Apr 2018
Recent releases
| Version | Published |
|---|---|
| 1.2.2 | 30 Apr 2018 |
| 1.2.1 | 27 Apr 2018 |
| 1.2.0 | 27 Apr 2018 |
| 1.1.0 | 26 Apr 2018 |
- Module format
- CommonJSFrom package.json type, main and exports fields
- TypeScript types
- None
- Node.js engine range
- >= 0.2.0
- Runtimes
- -
- Unpacked size (npm)
- 17 kB
- Dependencies (2)
remedialremove-trailing-spaces
npm install json-to-pretty-yaml- jsDelivr
https://cdn.jsdelivr.net/npm/json-to-pretty-yaml@1.2.2/ - unpkg
https://unpkg.com/json-to-pretty-yaml@1.2.2/ - esm.sh
https://esm.sh/json-to-pretty-yaml@1.2.2
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| yaml-front-matter | 58.3k | - | 5 years ago | ESM + CommonJS | - |
| world-countries | 221.1k | - | 1 year ago | ESM + CommonJS | - |
Indexability: Indexed.