{"id":15837437,"url":"https://github.com/afeiship/next-pick-by","last_synced_at":"2026-04-28T08:32:46.343Z","repository":{"id":57122786,"uuid":"283659048","full_name":"afeiship/next-pick-by","owner":"afeiship","description":"Pick value from object by callback.","archived":false,"fork":false,"pushed_at":"2020-11-20T09:35:50.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-08T10:02:48.841Z","etag":null,"topics":["by","filter","find","next","object","pick"],"latest_commit_sha":null,"homepage":"","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/afeiship.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-07-30T03:22:12.000Z","updated_at":"2020-11-20T09:35:52.000Z","dependencies_parsed_at":"2022-08-24T14:59:32.050Z","dependency_job_id":null,"html_url":"https://github.com/afeiship/next-pick-by","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fnext-pick-by","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fnext-pick-by/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fnext-pick-by/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fnext-pick-by/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/afeiship","download_url":"https://codeload.github.com/afeiship/next-pick-by/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246671458,"owners_count":20815183,"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":["by","filter","find","next","object","pick"],"created_at":"2024-10-05T15:22:31.833Z","updated_at":"2026-04-28T08:32:41.311Z","avatar_url":"https://github.com/afeiship.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# next-pick-by\n\u003e Pick value from object by callback.\n\n[![version][version-image]][version-url]\n[![license][license-image]][license-url]\n[![size][size-image]][size-url]\n[![download][download-image]][download-url]\n\n## installation\n```bash\nnpm install -S @jswork/next-pick-by\n```\n\n## usage\n```js\nimport '@jswork/next-pick-by';\n\nconst object = {\n  'a': 1,\n  'c': 'c-value',\n  'k1': 111,\n  'k2': 222,\n  'k3': 333,\n  some: {\n    what: {\n      and: {\n        deep: {\n          one: 1\n        }\n      }\n    }\n  }\n};\n\nconst res = nx.pickBy(object, function (key, value, item) {\n  return typeof(value) === 'number';\n});\n\n// { a: 1, k1: 111, k2: 222, k3: 333 }\n```\n\n## license\nCode released under [the MIT license](https://github.com/afeiship/next-pick-by/blob/master/LICENSE.txt).\n\n[version-image]: https://img.shields.io/npm/v/@jswork/next-pick-by\n[version-url]: https://npmjs.org/package/@jswork/next-pick-by\n\n[license-image]: https://img.shields.io/npm/l/@jswork/next-pick-by\n[license-url]: https://github.com/afeiship/next-pick-by/blob/master/LICENSE.txt\n\n[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/next-pick-by\n[size-url]: https://github.com/afeiship/next-pick-by/blob/master/dist/next-pick-by.min.js\n\n[download-image]: https://img.shields.io/npm/dm/@jswork/next-pick-by\n[download-url]: https://www.npmjs.com/package/@jswork/next-pick-by\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fafeiship%2Fnext-pick-by","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fafeiship%2Fnext-pick-by","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fafeiship%2Fnext-pick-by/lists"}