{"id":15434169,"url":"https://github.com/franckldx/node-duckduckgo","last_synced_at":"2025-08-16T07:04:23.540Z","repository":{"id":15896451,"uuid":"74702838","full_name":"franckLdx/node-duckduckgo","owner":"franckLdx","description":"Yet another node lib for requesting Duck Duck Go.  This one has been written in typescript (2.x or above) and can be used by javascript (es2018 or above) software or by typescript software.","archived":false,"fork":false,"pushed_at":"2022-04-10T06:17:32.000Z","size":519,"stargazers_count":13,"open_issues_count":5,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-18T08:37:05.093Z","etag":null,"topics":["duckduckgo","javascript","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/franckLdx.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}},"created_at":"2016-11-24T20:21:45.000Z","updated_at":"2024-08-22T23:03:31.000Z","dependencies_parsed_at":"2022-08-07T08:01:23.363Z","dependency_job_id":null,"html_url":"https://github.com/franckLdx/node-duckduckgo","commit_stats":null,"previous_names":[],"tags_count":32,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/franckLdx%2Fnode-duckduckgo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/franckLdx%2Fnode-duckduckgo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/franckLdx%2Fnode-duckduckgo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/franckLdx%2Fnode-duckduckgo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/franckLdx","download_url":"https://codeload.github.com/franckLdx/node-duckduckgo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249758495,"owners_count":21321535,"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":["duckduckgo","javascript","typescript"],"created_at":"2024-10-01T18:37:37.666Z","updated_at":"2025-04-19T18:08:38.556Z","avatar_url":"https://github.com/franckLdx.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Yet another node lib for requesting [Duck Duck Go](https://duckduckgo.com/).\n\nThis one has been written in typescript (2.x or above) and can be used by javascript (es2018 or above) software or by typescript software.\n\n\n## Examples\n```javascript\nasync function get() {\n  try {\n    const result = await duckIt('bart simpsons');\n    console.log(result.data.AbstractText);\n  } catch (err) {\n    console.error('oups', err);\n  }\n}\n```\n\n## API\n* duckIt uses [axios](https://github.com/axios/axios) and return an AxiosResponse:\n```javascript\nconst result = await duckIt('bart simpsons');\n```\n\n* duckIt can be called with an options object, eahc item is optional:\n  * appName: an application name, default node-duckduckgo\n  * format: received format data, possible values: 'json' or 'xml', default 'json'\n  * parentalFilter: parental filter activated or not, possible values 'Activated', 'Moderate' and 'Deactivated', default: 'Activated'\n  * noRedirect: boolean, true to skip HTTP redirects\n  * noHtml: boolean, true to remove HTML from text\n  * skipDisambig: boolean, true to skip disambiguation\n(for information about this options see [Duck Duck GO API documentation](https://api.duckduckgo.com/api)\n\nexample:\n```javascript\nconst result = await duckIt('bart simpsons', { noHtml: true, parentalFilter: 'Moderate' });\n```\n\n\n## Usage\nnode-duckduckgo (this lib) is open sources (MIT license) but to use Duck Duck Go results you need to follow Duck Duck Go's Terms and Conditions. [Please read this page](https://api.duckduckgo.com/api) before any usage.\n\n\n## 2.x\nThis major release offers a completly different interface than 1.x. You may continue to use 1.X but\nas it won't evolve anymore, your advise to migrate to 2.X.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffranckldx%2Fnode-duckduckgo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffranckldx%2Fnode-duckduckgo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffranckldx%2Fnode-duckduckgo/lists"}