{"id":23912237,"url":"https://github.com/omermecitoglu/object","last_synced_at":"2025-02-23T17:45:25.310Z","repository":{"id":270446912,"uuid":"910409035","full_name":"omermecitoglu/object","owner":"omermecitoglu","description":"Object utils","archived":false,"fork":false,"pushed_at":"2024-12-31T07:48:45.000Z","size":43,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-19T22:14:40.227Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/omermecitoglu.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":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-31T07:36:17.000Z","updated_at":"2024-12-31T07:48:48.000Z","dependencies_parsed_at":"2024-12-31T08:37:23.626Z","dependency_job_id":null,"html_url":"https://github.com/omermecitoglu/object","commit_stats":null,"previous_names":["omermecitoglu/object"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omermecitoglu%2Fobject","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omermecitoglu%2Fobject/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omermecitoglu%2Fobject/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omermecitoglu%2Fobject/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/omermecitoglu","download_url":"https://codeload.github.com/omermecitoglu/object/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240356096,"owners_count":19788512,"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":"2025-01-05T08:59:05.823Z","updated_at":"2025-02-23T17:45:25.283Z","avatar_url":"https://github.com/omermecitoglu.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Object\n\nProvides some object utils\n\n## Installation\n\nInstall the package using npm:\n\n```bash\nnpx jsr add @omer/object\n```\n\nOr with deno:\n\n```bash\ndeno add jsr:@omer/object\n```\n\n## Usage\n\nImport the utility function and use it in your project:\n\n```typescript\nimport { pick, omit, pluck } from \"@omer/object\";\n\nconst user = { id: 1, name: \"John Doe\", age: 30, password: \"[REDACTED]\" };\nconsole.log(pick(user, \"name\", \"age\")); // Output: { name: \"John Doe\", age: 30 }\nconsole.log(omit(user, \"age\", \"password\")); // Output: { id: 1, name: \"John Doe\" }\n\nconst users = [\n  { id: 1, name: \"John Doe\", age: 30, password: \"[REDACTED]\" },\n  { id: 2, name: \"Jane Doe\", age: 28, password: \"[REDACTED]\" },\n]\nconsole.log(pluck(users, \"name\")); // Output: [\"John Doe\", \"Jane Doe\"]\n```\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fomermecitoglu%2Fobject","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fomermecitoglu%2Fobject","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fomermecitoglu%2Fobject/lists"}