npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

dsh-web-search-bing

v1.1.1

Published

DSH web plugin: bing-cn and bing-intl search providers for ctx.web via cn.bing.com HTML (ensearch=1 for the international mix)

Readme


为 DSH(DeepSeek Harness)的 ctx.web 注册两个 bing 搜索 provider。不申请 Key、不花钱,装上即用——是付费搜索源(Tavily / DeepSeek 官方)的理想兜底。

两个 provider / Two providers

| id | 端点 | 特点 | |---|---|---| | bing-cn | cn.bing.com | 国内版结果,中文查询友好,直链干净 | | bing-intl | 同端点 + ensearch=1 | 国际版结果,英文技术内容覆盖更好 |

两者都自动解析 bing.com/ck/a 重定向还原真实 URL;Bing 改版导致解析结果为 0 条时会明确报错而不是静默返回空列表——兜底源最怕的就是悄悄坏掉。

实测定位 / Where it fits

与 Tavily 同查询实测:Bing 的强项是域名多样性(一次给 8-10 个独立站点)和免费;弱项是摘要较短(~100 字)且有时返回品牌首页而非直接答案页。最佳用法是作为 fallback 链的第二三级,或并行模式中与 Tavily 互补(两者中文查询结果几乎零重叠,合并后覆盖面翻倍)。

先决条件 / Prerequisites

  • 已安装 DSH(Node.js >= 20):npm install -g @deepseek-ai/dsh
  • 能访问 cn.bing.com(无需任何 API Key)

安装 / Install

cd ~/.dsh/profiles/web
pnpm add dsh-web-search-bing

在 ~/.dsh/profiles/web/cordis.patch.yml 追加:

- insert:
    - id: web-search-bing
      name: 'dsh-web-search-bing'

多 provider 并存没问题,web 行的 searchProvider 明确指定谁就是谁:

- id: web
  config:
    searchProvider: bing-cn    # 或 bing-intl;单用 bing 时才需要这行

无 pnpm 时手动安装:把 lib/ + package.json 拷到 ~/.dsh/profiles/node_modules/dsh-web-search-bing/,加同样的行。

组合行配置(可选)/ Config

- insert:
    - id: web-search-bing
      name: 'dsh-web-search-bing'
      config:
        timeoutMs: 15000   # 默认
        fetchCount: 16     # 单次请求条数上限 8-30,默认 16

搭配使用 / Pairs well with

| 插件 | 说明 | |---|---| | dsh-web-search-strategy | 把 bing 排进 fallback 链或并行组,带策略面板 | | dsh-web-search-tavily-pool | 高质量主力源 + 多 Key 池管理 |

License

MIT