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

@volter/twin-cohere

v1.0.0

Published

Cohere Protocol 3 twin: LibreChat web-search rerank v2 with labeled deterministic content.

Readme

@volter/twin-cohere

Protocol 3 Cohere API twin derived from the vendored OpenAPI document. It serves POST /v2/rerank on api.cohere.com and api.cohere.ai for LibreChat's shipped web-search feature with the end user's own in-app key. Demand records the user flow; the customer life uses the request body sent by its pinned @librechat/[email protected] adapter. Other API operations answer the vendor-shaped gap.

The twin runs no model. It ranks Unicode-word overlap with the query, keeps original document indices and stable ties, and labels that stand-in in meta.warnings. top_n limits results; document and query budgets truncate Unicode words, an explicitly labeled approximation of Cohere tokens. Valid priority values are accepted and bounded; this immediate compute path has no inference queue or load. Semantic quality, model tokenization, latency and load-dependent scheduling are not simulated. The documented model catalogue and release dates gate requests on the World clock.

Bearer credentials are checked through the kernel's held-key mechanism. POST /_twin/app-credentials stands for dashboard key creation and returns the same World application key on resume, filling COHERE_API_KEY. The adapter's COHERE_API_URL points at /v2/rerank. Keys are held by SHA-256; no vendor resource is stored by reranking, so there is no vendor-backed refresh or deploy. The live-call rate budget uses the documented trial tier, 10/minute.

Cohere's core job here is an API call; the console provides incidental credential and billing setup, so this pack has no screens. Reference, overview and release requests, plus applicable stated rules, are in doc-examples.json and replayed by the examples journey. The generated score and coverage report the current walks; the final independent judging and conformance belong to the repository procedure.