{"id":25832609,"url":"https://github.com/lenml/searxng-js-client","last_synced_at":"2026-05-18T00:04:05.738Z","repository":{"id":249499340,"uuid":"831665107","full_name":"lenML/searxng-js-client","owner":"lenML","description":"searxng client for javascript","archived":false,"fork":false,"pushed_at":"2024-07-21T10:37:59.000Z","size":61,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-28T23:44:16.654Z","etag":null,"topics":["client","javascript","search-engine","searxng","typescript"],"latest_commit_sha":null,"homepage":"","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/lenML.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-07-21T08:58:35.000Z","updated_at":"2024-07-21T10:38:02.000Z","dependencies_parsed_at":"2024-07-21T11:55:53.863Z","dependency_job_id":null,"html_url":"https://github.com/lenML/searxng-js-client","commit_stats":null,"previous_names":["lenml/searxng-js-client"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lenML/searxng-js-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lenML%2Fsearxng-js-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lenML%2Fsearxng-js-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lenML%2Fsearxng-js-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lenML%2Fsearxng-js-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lenML","download_url":"https://codeload.github.com/lenML/searxng-js-client/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lenML%2Fsearxng-js-client/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265636857,"owners_count":23802575,"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":["client","javascript","search-engine","searxng","typescript"],"created_at":"2025-02-28T21:40:07.378Z","updated_at":"2026-05-18T00:04:00.702Z","avatar_url":"https://github.com/lenML.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# searxng-js-client\nsearxng client for javascript\n\n# install\n```\npnpm add @lenml/searxng-js-client\n```\n\n# usage\n```ts\nimport {\n  SearxngClient,\n  Category,\n  Format,\n  SafeSearch,\n  SearchParams,\n} from \"@lenml/searxng-js-client\";\n\nconst client = new SearxngClient({ baseUrl: \"http://your_instance_address/\" });\n\nconst searchParams: SearchParams = {\n  q: \"what is llm?\",\n  categories: [Category.GENERAL, Category.WEB],\n  format: Format.JSON,\n  safesearch: SafeSearch.None,\n  language: \"auto\",\n  disabled_engines: [\"dailymotion\"],\n  engines: [\n    \"bing\",\n    \"google\",\n    \"duckduckgo\",\n    \"reddit\",\n    // \"twitter\",\n    \"bilibili\",\n    \"youtube_noapi\",\n    \"yahoo\",\n  ],\n};\n\nconst { results } = await client.search(searchParams);\n// results: { ... }[]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flenml%2Fsearxng-js-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flenml%2Fsearxng-js-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flenml%2Fsearxng-js-client/lists"}