{"id":25427659,"url":"https://github.com/artursopelnik/jsoneditor-cli","last_synced_at":"2026-02-17T10:31:59.476Z","repository":{"id":276201531,"uuid":"928533941","full_name":"artursopelnik/jsoneditor-cli","owner":"artursopelnik","description":"A command-line tool for Node.js that provides an web-based JSONEditor to view, edit, format, and validate JSON","archived":false,"fork":false,"pushed_at":"2025-02-10T18:02:16.000Z","size":117,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-27T15:31:33.797Z","etag":null,"topics":["json-editor","jsoneditor","node-jsoneditor"],"latest_commit_sha":null,"homepage":"https://medium.com/@artur.sopelnik93/how-to-edit-design-tokens-without-paid-software-or-coding-skills-4d64caba000b","language":"HTML","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/artursopelnik.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-02-06T19:34:52.000Z","updated_at":"2025-02-10T18:02:20.000Z","dependencies_parsed_at":"2025-10-08T19:32:36.667Z","dependency_job_id":"f1a18b28-cb60-481f-97e2-685c399c9a5b","html_url":"https://github.com/artursopelnik/jsoneditor-cli","commit_stats":null,"previous_names":["artursopelnik/jsoneditor-cli"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/artursopelnik/jsoneditor-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artursopelnik%2Fjsoneditor-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artursopelnik%2Fjsoneditor-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artursopelnik%2Fjsoneditor-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artursopelnik%2Fjsoneditor-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/artursopelnik","download_url":"https://codeload.github.com/artursopelnik/jsoneditor-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artursopelnik%2Fjsoneditor-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29540094,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-17T08:11:05.436Z","status":"ssl_error","status_checked_at":"2026-02-17T08:09:38.860Z","response_time":100,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["json-editor","jsoneditor","node-jsoneditor"],"created_at":"2025-02-17T01:09:18.444Z","updated_at":"2026-02-17T10:31:58.978Z","avatar_url":"https://github.com/artursopelnik.png","language":"HTML","readme":"# JSONEditor-CLI\n\n[![npm version](https://badge.fury.io/js/jsoneditor-cli.svg)](http://badge.fury.io/js/jsoneditor-cli)\n\nJSONEditor-CLI is a command-line tool for Node.js that provides an interactive JSON editing experience using [JSONEditor](https://github.com/josdejong/jsoneditor). Whether you need to quickly view or edit JSON files, JSONEditor-CLI makes it simple and efficient.\n\n\u003cimg src=\"jsoneditor-cli.png\" alt=\"JSONEditor-CLI\" width=\"600\"/\u003e\n\n## Features\n\n- **JSON Editing that runs on command line**: Edit JSON files directly in a web-based interface without needing a text editor.\n- **Multiple Modes**: Supports different editing modes such as `tree` (default), `text`, or `code`.\n- **Web Interface Option**: Launch a local web interface to edit JSON files in your browser.\n- **Lightweight \u0026 Fast**: Built with Node.js for a quick and responsive experience.\n\n## Installation\n\nInstall JSONEditor-CLI globally using npm:\n\n```bash\nnpm install -g jsoneditor-cli\n```\n\nOr add it as a dependency to your project:\n\n```bash\nnpm install jsoneditor-cli --save-dev\n```\n\n## Usage\n\nTo use JSONEditor-CLI, run the command followed by the JSON file you wish to edit:\n\n```bash\njsoneditor-cli [options] load \u003cfile\u003e\n```\n\n### Options\n\n- `-m, --mode \u003cmode\u003e`  \n  Set the editor mode. Available modes: `tree` (default), `text`, or `code`.\n\n- `-p, --port \u003cnumber\u003e`  \n  Specify the port for the web interface (default: `5053`).\n\n- `-e, --engine \u003cengine\u003e`  \n  Set the engine. Available engines: `jsoneditor` (default), `svelte-jsoneditor`.\n\n- `-i, --initialExpand \u003cinitialExpand\u003e`  \n  Set the initial expand. Available options: `true` (default), `false`.\n\n- `-h, --help`  \n  Display help and usage information.\n\n### Examples\n\n**Edit a JSON file in tree mode (default):**\n\n```bash\njsoneditor-cli load data.json\n```\n\n**Specify a mode (e.g., code mode):**\n\n```bash\njsoneditor-cli --mode code load data.json\n```\n\n**Launch the web interface on a specific port:**\n\n```bash\njsoneditor-cli --port 4000 load data.json\n```\n\nAny options provided via the command line will override the configuration file settings.\n\n## Contributing\n\nContributions are welcome! If you find any issues or have ideas for improvements, please open an issue or submit a pull request on [GitHub](https://github.com/artursopelnik/jsoneditor-cli).\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE.txt) file for details.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fartursopelnik%2Fjsoneditor-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fartursopelnik%2Fjsoneditor-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fartursopelnik%2Fjsoneditor-cli/lists"}