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

@link-assistant/web-search

v0.10.3

Published

A 40-provider web search microservice and library with typed provider metadata, reranking, and optional web-capture backing

Readme

@link-assistant/web-search

npm package npm downloads JavaScript Checks and Release JS release tag

JavaScript implementation of the web-search library, CLI, and HTTP service. It mirrors the Rust crate in ../rust with the same 22-provider catalog, four provider categories, merge strategies, and discovery surface.

Install

npm install @link-assistant/web-search
bun add @link-assistant/web-search
yarn add @link-assistant/web-search

The package publishes only runtime assets (src, bin, examples, README, and changelog). It is a public scoped package and uses the repository directory metadata required by npm for packages stored below the repository root.

Library

import {
  createSearchEngine,
  buildProviders,
  getProviderIds,
} from '@link-assistant/web-search';

const engine = createSearchEngine();

const results = await engine.search('graph neural networks', {
  limit: 10,
  providers: ['arxiv', 'crossref', 'openalex'],
  strategy: 'rrf',
});

const github = buildProviders().get('github');
const codeResults = await github.search('web search cli', { limit: 5 });

console.log(getProviderIds('papers'));
console.log(results.map((result) => result.url));
console.log(codeResults.length);

CLI

npx web-search "rust async search" --limit 10
npx web-search "transformer architecture" --providers arxiv,crossref --format json
npx web-search --list-providers

HTTP Service

npx web-search serve --port 3000

curl "http://localhost:3000/search?q=rust+programming&limit=10"
curl "http://localhost:3000/providers?category=papers"
curl "http://localhost:3000/categories"

Providers

The live registry has 22 providers in four categories:

| Category | Provider ids | | ----------- | ---------------------------------------------------------------------------------------------------------- | | search | google, bing, duckduckgo, searx, brave, mojeek, ecosia, startpage, yahoo, lite, wc:* | | knowledge | wikipedia, wikidata | | papers | crossref, openalex, arxiv | | code | github, hackernews |

google and bing use official APIs when credentials are configured and fall back to HTML parsing otherwise. GITHUB_TOKEN is optional and raises the GitHub search rate limit.

web-capture

wc:wikipedia, wc:duckduckgo, wc:google, wc:bing, and wc:brave delegate to @link-assistant/web-capture when it is installed. The dependency is loaded lazily; without it, the provider warns once and returns an empty result set so the rest of aggregation can continue.

npm install @link-assistant/web-capture
import { createWebCaptureProvider } from '@link-assistant/web-search';

const provider = createWebCaptureProvider({ engine: 'wikipedia' });
const results = await provider.search('OpenAI', { limit: 5 });

Release

The JavaScript release workflow publishes through npm trusted publishing and creates GitHub releases tagged as js-v<version>. Version changes are managed with changesets; pull requests that touch JavaScript package code should add a changeset in .changeset/.

npm run changeset
npm run changeset:status
npm publish --dry-run --json

Development

npm install
npm test
npm run check
node bin/web-search.js --list-providers

Cross-language parity is checked from the repository root:

node js/scripts/check-js-rust-parity.mjs