{"id":15687972,"url":"https://github.com/ultirequiem/jason-formatter","last_synced_at":"2025-10-15T11:54:10.635Z","repository":{"id":39543558,"uuid":"387930170","full_name":"UltiRequiem/jason-formatter","owner":"UltiRequiem","description":":memo: Shell utility and Library for formatting JSON files","archived":false,"fork":false,"pushed_at":"2024-09-28T18:23:11.000Z","size":125,"stargazers_count":8,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-05-07T08:09:45.103Z","etag":null,"topics":["cli","cli-formatter","formatter","javascript","json","json-formatter","node","nodejs","npm-package","typescript"],"latest_commit_sha":null,"homepage":"https://jason.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-07-20T22:42:56.000Z","updated_at":"2024-09-28T18:23:15.000Z","dependencies_parsed_at":"2023-02-17T18:30:38.716Z","dependency_job_id":"339d2160-c57f-442f-aab2-4cb6e857fc8f","html_url":"https://github.com/UltiRequiem/jason-formatter","commit_stats":{"total_commits":60,"total_committers":2,"mean_commits":30.0,"dds":"0.16666666666666663","last_synced_commit":"396f5ba559b462c70d49aafa6e9a6657caddf7fa"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UltiRequiem%2Fjason-formatter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UltiRequiem%2Fjason-formatter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UltiRequiem%2Fjason-formatter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UltiRequiem%2Fjason-formatter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/UltiRequiem","download_url":"https://codeload.github.com/UltiRequiem/jason-formatter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252839294,"owners_count":21812090,"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","cli-formatter","formatter","javascript","json","json-formatter","node","nodejs","npm-package","typescript"],"created_at":"2024-10-03T17:52:41.124Z","updated_at":"2025-10-15T11:54:05.582Z","avatar_url":"https://github.com/UltiRequiem.png","language":"TypeScript","funding_links":["https://patreon.com/UltiRequiem"],"categories":[],"sub_categories":[],"readme":"# Jason Formatter\n\n[![Code Coverage](https://codecov.io/gh/ultirequiem/jason-formatter/branch/main/graph/badge.svg)](https://codecov.io/gh/ultirequiem/jason-formatter)\n[![Deno Doc](https://doc.deno.land/badge.svg)](https://doc.deno.land/https/deno.land/x/jason_formatter/mod.ts)\n\nA simple [JSON](https://json.org) formatter.\n\n## CLI\n\n### Install\n\n- **Deno 🎃**\n\n```sh\ndeno install --unstable --allow-read --allow-write https://deno.land/x/jason_formatter/jason.ts\n```\n\n- **Node.js 🐼**\n\n```sh\nnpm install --global jason-formatter\n```\n\n### Usage\n\n```bash\njason config.json\n```\n\nBy default, 2 tabs are used, to specify how many tabs you want 👇\n\n```bash\njason config.json --tabs 4 # same as -t 4\n```\n\n[Video Showcase 📷](https://youtu.be/2dfXYhPswv0)\n\n## Usage\n\nThe API is the same on all this platforms ✔️\n\n### [Deno 🦕](https://deno.land/x/jason_formatter)\n\n```typescript\nimport { jason } from \"https://deno.land/x/jason_formatter/mod.ts\";\n\nconst data = `{\"nick\":9}`;\n\njason(data); /* {\n  \"nick\": 9\n}*/\n```\n\n### [Node.js 🐢🚀](https://npmjs.com/package/jason-formatter)\n\n```ts\nimport { jason } from \"jason-formatter\";\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/jason-formatter) 🆚\n[Script Tag](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script)\n↔️ [JSDelivr](https://cdn.jsdelivr.net/npm/jason-formatter)\n\n## Documentation\n\nIs hosted on\n[Deno Doc](https://doc.deno.land/https://deno.land/x/jason_formatter/mod.ts) 📄\n\n## Note\n\nI did this while learning TypeScript long time ago, It was originally written\nfor Node.js but I'm porting most of my packages to Deno.\n\nIt's basically a wrapper around\n[JSON.stringify](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify)\n😆\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 star the repo ⭐\n\n## Versioning\n\nWe use [Semantic Versioning](http://semver.org). For the versions available, see\nthe [tags](https://github.com/UltiRequiem/jason-formatter/tags) 🏷️\n\n## Licence\n\nLicensed under the MIT License 📄\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fultirequiem%2Fjason-formatter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fultirequiem%2Fjason-formatter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fultirequiem%2Fjason-formatter/lists"}