{"id":26673273,"url":"https://github.com/jiannan-dev/leetcode-daily-question","last_synced_at":"2025-06-12T22:06:45.937Z","repository":{"id":174144733,"uuid":"650625962","full_name":"Jiannan-dev/leetcode-daily-question","owner":"Jiannan-dev","description":"获取leetcode每日一题(get the daily question of leetcode)","archived":false,"fork":false,"pushed_at":"2023-06-12T14:19:13.000Z","size":36,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-12T22:06:45.817Z","etag":null,"topics":["daily-questions","leetcode"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/leetcode-daily-question","language":"TypeScript","has_issues":true,"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/Jiannan-dev.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2023-06-07T13:13:32.000Z","updated_at":"2023-06-11T07:33:04.000Z","dependencies_parsed_at":"2023-07-06T14:00:52.444Z","dependency_job_id":null,"html_url":"https://github.com/Jiannan-dev/leetcode-daily-question","commit_stats":null,"previous_names":["ruleeeer/leetcode-daily-question","jiannan-dev/leetcode-daily-question"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/Jiannan-dev/leetcode-daily-question","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jiannan-dev%2Fleetcode-daily-question","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jiannan-dev%2Fleetcode-daily-question/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jiannan-dev%2Fleetcode-daily-question/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jiannan-dev%2Fleetcode-daily-question/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Jiannan-dev","download_url":"https://codeload.github.com/Jiannan-dev/leetcode-daily-question/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jiannan-dev%2Fleetcode-daily-question/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259539132,"owners_count":22873341,"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":["daily-questions","leetcode"],"created_at":"2025-03-26T01:14:48.936Z","updated_at":"2025-06-12T22:06:45.905Z","avatar_url":"https://github.com/Jiannan-dev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"English | [简体中文](./README_ZH.md)\n\u003chr\u003e\n\nA simple program to get leetcode daily questions, currently only support to get question under the leetcode.cn\n+ simple, easy to use\n+ no runtime dependencies\n## Use Cases\n### install\n``` shell\nnpm install leetcode-daily-question\n```\n### Get the daily question\n```ts\nimport {getTodayQuestion} from 'leetcode-daily-question';\ngetTodayQuestion()\n.then(response =\u003e console.log(response))\n.catch(err =\u003e console.error(err));\n```\n### Get the title according to the title\n```ts\nimport {getQuestionByTitleId} from 'leetcode-daily-question';\nconst titleId = 'two-sum';\ngetQuestionByTitleId()\n.then(response =\u003e console.log(response))\n.catch(err =\u003e console.error(err));\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjiannan-dev%2Fleetcode-daily-question","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjiannan-dev%2Fleetcode-daily-question","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjiannan-dev%2Fleetcode-daily-question/lists"}