{"id":18447775,"url":"https://github.com/stoplightio/ordered-object-literal","last_synced_at":"2025-04-08T00:32:25.583Z","repository":{"id":38312349,"uuid":"249263592","full_name":"stoplightio/ordered-object-literal","owner":"stoplightio","description":null,"archived":false,"fork":false,"pushed_at":"2024-06-16T11:21:27.000Z","size":314,"stargazers_count":0,"open_issues_count":2,"forks_count":3,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-04-05T22:43:22.081Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stoplightio.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":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-03-22T20:09:00.000Z","updated_at":"2022-01-24T22:27:22.000Z","dependencies_parsed_at":"2023-11-27T14:26:19.554Z","dependency_job_id":"e34c632b-9603-43b9-9844-cf57b0746e5e","html_url":"https://github.com/stoplightio/ordered-object-literal","commit_stats":{"total_commits":36,"total_committers":4,"mean_commits":9.0,"dds":"0.41666666666666663","last_synced_commit":"f68852c3fdda41b95001f0a0dd24b689d37f58c3"},"previous_names":["p0lip/ordered-object-literal"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stoplightio%2Fordered-object-literal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stoplightio%2Fordered-object-literal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stoplightio%2Fordered-object-literal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stoplightio%2Fordered-object-literal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stoplightio","download_url":"https://codeload.github.com/stoplightio/ordered-object-literal/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247755457,"owners_count":20990618,"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-11-06T07:14:23.969Z","updated_at":"2025-04-08T00:32:20.563Z","avatar_url":"https://github.com/stoplightio.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @stoplight/ordered-object-literal\n\n## Install\n\nDo not use it if you can use maps.\n\n```sh\nyarn add @stoplight/ordered-object-literal\n```\n\nor if npm is package manager of your choice\n\n```sh\nnpm install @stoplight/ordered-object-literal --save\n```\n\n## Usage\n\n### I want to create a new object\n\n```js\nimport box from '@stoplight/ordered-object-literal';\n\nconst trackedObj = box({});\n```\n\n### I have an existing object\n\n```js\nimport box from '@stoplight/ordered-object-literal';\n\nconst myObj = { \n  a: true,\n  b: void 0,\n};\n\nconst trackedObj = box(myObj);\n// alternatively if you want to provide a custom orer\nconst trackedReversedObj = box(myObj, ['b', 'a']);\n```\n\n## LICENSE\n\n[Apache License 2.0](https://github.com/stoplightio/ordered-object-literal/blob/master/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstoplightio%2Fordered-object-literal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstoplightio%2Fordered-object-literal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstoplightio%2Fordered-object-literal/lists"}