{"id":17345283,"url":"https://github.com/debens/sort-js-object","last_synced_at":"2025-10-06T07:45:10.511Z","repository":{"id":44073589,"uuid":"207829600","full_name":"Debens/sort-js-object","owner":"Debens","description":"VS Code extension for sorting JS object keys","archived":false,"fork":false,"pushed_at":"2023-01-04T09:56:13.000Z","size":7796,"stargazers_count":4,"open_issues_count":15,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-19T23:58:11.439Z","etag":null,"topics":["babel","formatter","javascript","typescript","vsco","vscode"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Debens.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-09-11T14:15:15.000Z","updated_at":"2023-10-26T20:40:20.000Z","dependencies_parsed_at":"2023-02-02T07:47:04.625Z","dependency_job_id":null,"html_url":"https://github.com/Debens/sort-js-object","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/Debens/sort-js-object","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Debens%2Fsort-js-object","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Debens%2Fsort-js-object/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Debens%2Fsort-js-object/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Debens%2Fsort-js-object/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Debens","download_url":"https://codeload.github.com/Debens/sort-js-object/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Debens%2Fsort-js-object/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278577918,"owners_count":26009701,"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","status":"online","status_checked_at":"2025-10-06T02:00:05.630Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["babel","formatter","javascript","typescript","vsco","vscode"],"created_at":"2024-10-15T16:30:17.911Z","updated_at":"2025-10-06T07:45:10.468Z","avatar_url":"https://github.com/Debens.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003ch1\u003esort-js-object\u003c/h1\u003e\n\n♠️ ♥️ Traverse and sort JS AST object keys ♦️ ♣️\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/Debens/sort-js-object/actions\"\u003e\n      \u003cimg src=\"https://action-badges.now.sh/debens/sort-js-object\" alt=\"Github Workflow\" /\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://marketplace.visualstudio.com/items?itemName=debens.sort-js-object\"\u003e\n      \u003cimg src=\"https://vsmarketplacebadge.apphb.com/version/debens.sort-js-object.svg\" alt=\"VS Code Marketplace\" /\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://marketplace.visualstudio.com/items?itemName=debens.sort-js-object\"\u003e\n      \u003cimg alt=\"VS Code Marketplace Downloads\" src=\"https://img.shields.io/visual-studio-marketplace/d/debens.sort-js-object\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://marketplace.visualstudio.com/items?itemName=debens.sort-js-object\"\u003e\n      \u003cimg src=\"https://vsmarketplacebadge.apphb.com/installs/debens.sort-js-object.svg\" alt=\"VS Code Marketplace Installs\" /\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\n\u003c/div\u003e\n\n\u003chr /\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/Debens/sort-js-object/raw/master/example/sort-js-object.gif\" /\u003e\n\u003c/div\u003e\n\n\u003chr /\u003e\n\n## Installation\n\nInstall through VS Code extensions. Search for `Sort JS Object`\n\n[Visual Studio Code Market Place: Sort JS Objects](https://marketplace.visualstudio.com/items?itemName=debens.sort-js-object)\n\nCan also be installed in VS Code: Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.\n\n```\next install debens.sort-js-object\n```\n\n## Usage\n\nHighlight a valid block of JS/TS code and open the command palette using `cmd + shift + p`, search for `Sort JS` and hit enter.\n\n### Hotkeys\n\n-   Format highlighted code: `alt + s`\n\n## Support\n\nAll of ES6, Typescript and legacy decorators should be support. Pull requests are welcome!\n\n## How does it work?\n\nsort-js-object finds the highlighted text in the current editor, then using this text builds a AST using [@babel/parser](https://babeljs.io/docs/en/babel-parser), then reorder node arrays on tree using [@babel/traverse](https://babeljs.io/docs/en/babel-traverse).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdebens%2Fsort-js-object","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdebens%2Fsort-js-object","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdebens%2Fsort-js-object/lists"}