{"id":17597944,"url":"https://github.com/cvan/offline-search","last_synced_at":"2025-03-29T20:27:53.134Z","repository":{"id":20544184,"uuid":"23823715","full_name":"cvan/offline-search","owner":"cvan","description":null,"archived":false,"fork":false,"pushed_at":"2014-09-09T07:27:43.000Z","size":392,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-24T09:50:19.571Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/cvan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-09-09T07:27:31.000Z","updated_at":"2014-09-09T07:27:43.000Z","dependencies_parsed_at":"2022-07-26T09:30:06.219Z","dependency_job_id":null,"html_url":"https://github.com/cvan/offline-search","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/cvan%2Foffline-search","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cvan%2Foffline-search/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cvan%2Foffline-search/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cvan%2Foffline-search/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cvan","download_url":"https://codeload.github.com/cvan/offline-search/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246240587,"owners_count":20745900,"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-10-22T09:44:05.820Z","updated_at":"2025-03-29T20:27:53.112Z","avatar_url":"https://github.com/cvan.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# flexbox-sort\n\nSort a list of nodes without changing the DOM (thank you, flexbox).\n\nThe perfect use case: rendering filtered data, such as client-side search\nresults, without having to reconsistute the DOM based on sort order.\n\nInstead of physically rearranging the existing DOM nodes,\nor destroying the existing nodes and re-rendering new ones, we\ncan simply change them using one CSS property (flexbox's `order`).\n\n\n## Caveat\n\nIf you copy the entire document to your clipboard, you'll notice that the\npasted text appears in the order in which the text is represented in the DOM,\nnot in the visual order set by flexbox.\n\nYou can still select the text content of each flexbox-ordered item - just not\ntext that overlaps to another flexbox-ordered item.\n\nIf you print the document, the visual order set by flexbox order is\npreserved. But why are you printing this? And why do you still own a printer?\n\n\n## Browser support\n\n* Chrome (any)\n* Firefox (any)\n* Safari (any)\n* Opera 12.1+\n* IE 10+\n* iOS (any)\n* Android (any)\n\n\n## Closing remark\n\nSic transit gloria.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcvan%2Foffline-search","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcvan%2Foffline-search","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcvan%2Foffline-search/lists"}