{"id":18696761,"url":"https://github.com/546669204/typescript-pick","last_synced_at":"2025-11-08T15:30:35.434Z","repository":{"id":151412454,"uuid":"567996126","full_name":"546669204/typescript-pick","owner":"546669204","description":null,"archived":false,"fork":false,"pushed_at":"2022-11-19T05:40:41.000Z","size":62,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-28T03:42:43.767Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/546669204.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":"2022-11-19T05:34:39.000Z","updated_at":"2022-11-19T05:40:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"1cd4980c-556e-4009-926b-636defebb0df","html_url":"https://github.com/546669204/typescript-pick","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/546669204%2Ftypescript-pick","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/546669204%2Ftypescript-pick/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/546669204%2Ftypescript-pick/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/546669204%2Ftypescript-pick/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/546669204","download_url":"https://codeload.github.com/546669204/typescript-pick/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239558930,"owners_count":19658929,"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-07T11:20:50.997Z","updated_at":"2025-11-08T15:30:35.405Z","avatar_url":"https://github.com/546669204.png","language":"TypeScript","readme":"# typescript-pick\n\n一款智能的数据挑选工具   \n\n\n根据 变量的 `ts` 定义 自动剔除掉多余的属性  \n\n\n# Usage\n\n```\nyarn add typescript-pick\n```\n\n```ts\nimport { pick } from \"typescript-pick\";\n\n\ninterface T {\n  a: number,\n  b: string,\n}\n\nconst data = {\n  a: 1,\n  b: \"str\",\n  c: 7,\n  d: true\n}\n\npick(data) // =\u003e { a:1,b:\"str\" }\n\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F546669204%2Ftypescript-pick","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F546669204%2Ftypescript-pick","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F546669204%2Ftypescript-pick/lists"}