{"id":22384706,"url":"https://github.com/stofte/fastformat","last_synced_at":"2025-03-26T20:22:44.567Z","repository":{"id":146037836,"uuid":"287635567","full_name":"stofte/FastFormat","owner":"stofte","description":"Sublime Text plugin that formats JSON files","archived":false,"fork":false,"pushed_at":"2020-08-17T11:56:23.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-01T02:18:47.165Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","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/stofte.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2020-08-14T22:29:30.000Z","updated_at":"2020-08-17T11:56:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"23650e28-587e-481f-b55d-49a50e83c1e0","html_url":"https://github.com/stofte/FastFormat","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stofte%2FFastFormat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stofte%2FFastFormat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stofte%2FFastFormat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stofte%2FFastFormat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stofte","download_url":"https://codeload.github.com/stofte/FastFormat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245728149,"owners_count":20662633,"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":[],"created_at":"2024-12-05T01:18:55.232Z","updated_at":"2025-03-26T20:22:44.540Z","avatar_url":"https://github.com/stofte.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Fast Format for Sublime Text\n============================\n\nA project for playing around with Python to Rust interop in the context of\nSublime Text while still doing something useful. In this case formatting JSON files.\n\nUsage:\n\n - `test.bat` builds and runs the rust library using a python wrapper with some basic tests.\n - `pack.bat` builds the rust library and creates a `FastFormat` directory which can be copied into the ST packages directory (usually `%APPDATA%\\Sublime Text 3\\Packages`.)\n\nThe package adds the `Fast Format` command to the command palette (Ctrl+Shift+P).\n\nPerformance\n-----------\n\nTested on a single-line JSON file, formatting was averaged over 5 runs after an initial warm-up. Platforms were Windows 10 and ST 3. \n\n|                     | 5MB       | 15MB      \n|---------------------|-----------|-----------\n| [JSON Reindent*](https://github.com/ThomasKliszowski/json_reindent) | 24.2 sec | 72.4 sec\n| [JSTool (Notepad++)**](https://github.com/sunjw/jstoolnpp) | 0.87 sec | 2,69 sec\n| Fast Format         | 0.95 sec  | 2.88 sec\n\n\u003csup\u003e*Added timers to the packaged code and numbers obtained this way\u003cbr\u003e\n**AutoIt script is used to get as accurate numbers as possible.\u003c/sup\u003e\n\nTODO\n----\n\n - Support XML?\n - Allow looser JSON parsing (bare keys, etc)?\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstofte%2Ffastformat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstofte%2Ffastformat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstofte%2Ffastformat/lists"}