{"id":15672968,"url":"https://github.com/ultirequiem/y2j","last_synced_at":"2025-04-30T07:07:15.863Z","repository":{"id":39544824,"uuid":"413566229","full_name":"UltiRequiem/y2j","owner":"UltiRequiem","description":"🔄 YAML to JSON and vice versa","archived":false,"fork":false,"pushed_at":"2024-09-28T18:22:55.000Z","size":39,"stargazers_count":17,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-30T07:07:08.402Z","etag":null,"topics":["cli","deno","json","json-to-yaml","typescript","yaml","yaml-to-json"],"latest_commit_sha":null,"homepage":"https://y2j.js.org","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/UltiRequiem.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-10-04T20:01:33.000Z","updated_at":"2025-04-09T10:19:30.000Z","dependencies_parsed_at":"2023-02-17T18:16:15.935Z","dependency_job_id":"78fae063-3fd3-4082-bc3a-476acdca56b0","html_url":"https://github.com/UltiRequiem/y2j","commit_stats":{"total_commits":46,"total_committers":2,"mean_commits":23.0,"dds":"0.17391304347826086","last_synced_commit":"e1363cfad09b0f8b3d6a85c9bf77979276a0c2d8"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UltiRequiem%2Fy2j","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UltiRequiem%2Fy2j/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UltiRequiem%2Fy2j/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UltiRequiem%2Fy2j/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/UltiRequiem","download_url":"https://codeload.github.com/UltiRequiem/y2j/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251658208,"owners_count":21622820,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","deno","json","json-to-yaml","typescript","yaml","yaml-to-json"],"created_at":"2024-10-03T15:34:26.810Z","updated_at":"2025-04-30T07:07:15.841Z","avatar_url":"https://github.com/UltiRequiem.png","language":"TypeScript","funding_links":["https://patreon.com/UltiRequiem"],"categories":[],"sub_categories":[],"readme":"# Y2J\n\n[![Code Coverage](https://codecov.io/gh/ultirequiem/y2j/branch/main/graph/badge.svg)](https://codecov.io/gh/ultirequiem/y2j)\n[![Deno Doc](https://doc.deno.land/badge.svg)](https://doc.deno.land/https/deno.land/x/y2j/mod.ts)\n\nYAML to JSON and vice versa 🚀\n\n## Usage\n\nThe API is the same on all this platforms ✔️\n\n### [Deno 🦕](https://deno.land/x/y2j)\n\n```javascript\nimport { JSONtoYAML, YAMLtoJSON } from \"https://deno.land/x/y2j/mod.ts\";\n```\n\n### [Node.js 🦖](https://npmjs.com/package/@ultirequiem/y2j)\n\n```javascript\nimport { JSONtoYAML, YAMLtoJSON } from \"@ultirequiem/y2j\";\n```\n\n### [Browser 🌐](https://developer.mozilla.org/en-US/docs/Glossary/Browser)\n\nYou can use any [CDN](https://en.wikipedia.org/wiki/Content_delivery_network) 🔥\n\nEg 👉\n[ESM](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules) ↔️\n[SkyPack](https://cdn.skypack.dev/@ultirequiem/y2j) 🆚\n[Script Tag](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script)\n↔️ [JSDelivr](https://cdn.jsdelivr.net/npm/@ultirequiem/y2j)\n\n## Documentation\n\nIs hosted on [Deno Doc](https://doc.deno.land/https://deno.land/x/y2j/mod.ts) 📚\n\n## CLI\n\n### Install\n\n#### Deno 🐼\n\n```sh\ndeno install https://deno.land/x/y2j/y2j.ts\n```\n\n#### Node.js 🎃\n\n```sh\nnpm install -g @ultirequiem/y2j\n```\n\n### Usage\n\n```sh\n$ y2j example.json\nmenu:\n  id: file\n  value: File\n  popup:\n    menuitem:\n      - value: New\n        onclick: CreateNewDoc()\n      - value: Open\n        onclick: OpenDoc()\n      - value: Close\n        onclick: CloseDoc()\n\n$ y2j example.yaml\n{\n  \"menu\": {\n    \"id\": \"file\",\n    \"value\": \"File\",\n    \"popup\": {\n      \"menuitem\": [\n        { \"value\": \"New\", \"onclick\": \"CreateNewDoc()\" },\n        { \"value\": \"Open\", \"onclick\": \"OpenDoc()\" },\n        { \"value\": \"Close\", \"onclick\": \"CloseDoc()\" }\n      ]\n    }\n  }\n}\n```\n\nIf you pass the `--write` the output will not be printed. Instead it will be in\na new file with the same name, but with other extension.\n\n## Support\n\nOpen an Issue, I will check it a soon as possible 👀\n\nIf you want to hurry me up a bit\n[send me a tweet](https://twitter.com/UltiRequiem) 😆\n\nConsider [supporting me on Patreon](https://patreon.com/UltiRequiem) if you like\nmy work 🙏\n\nDon't forget to start the repo ⭐\n\n## Versioning\n\nWe use [Semantic Versioning](http://semver.org). For the versions available, see\nthe [tags](https://github.com/UltiRequiem/y2j/tags) 🏷️\n\n## Authors\n\n[Eliaz Bobadilla](https://ultirequiem.com) - Creator and Maintainer 💪\n\nSee also the full list of\n[contributors](https://github.com/UltiRequiem/y2j/contributors) who participated\nin this project ✨\n\n## Licence\n\nLicensed under the MIT License 📄\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fultirequiem%2Fy2j","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fultirequiem%2Fy2j","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fultirequiem%2Fy2j/lists"}