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

decisionmemos

v1.1.2

Published

Query multiple AI models in parallel — GPT, Claude, Grok, and Gemini in one call. Typed responses, zero boilerplate.

Readme

Decision Memos

npm version License: MIT Powered by Decision Memos

Four advisors. One structured verdict.

Part of Decision Memos — make better decisions when it matters. Use the free SDK below, or get structured verdicts and consensus via the hosted API.

Decision Memos has two tiers:

  1. Free SDK — Query GPT, Claude, Grok, and Gemini in parallel with one function call. Typed responses, zero boilerplate.
  2. Paid API — Adds persona-tuned prompts, synthesis with consensus scoring, dynamic briefing, and structured Decision Memos.

Free SDK — Quick Start

npm install decisionmemos
import { createMultiModelQuery } from 'decisionmemos';

const query = createMultiModelQuery();

const result = await query.ask(
  'Should we migrate to microservices or adopt a modular monolith?'
);

for (const r of result.responses) {
  console.log(`[${r.modelName}] ${r.response.slice(0, 200)}`);
}
// → 4 typed responses from 4 models, in parallel

API Keys

You need keys for the AI providers you want to use. The SDK works with any subset — missing providers are gracefully excluded.

| Provider | Env Variable | |----------|-------------| | OpenAI | OPENAI_API_KEY | | Anthropic | ANTHROPIC_API_KEY | | xAI | XAI_API_KEY | | Google AI | GOOGLE_API_KEY |

# .env
OPENAI_API_KEY=sk-...
ANTHROPIC_API_KEY=sk-ant-...
XAI_API_KEY=xai-...
GOOGLE_API_KEY=AIza...

Paid API — Structured Verdicts

The hosted API adds the orchestration layer that turns four raw responses into one structured verdict:

| Feature | Free SDK | Paid API | |---------|----------|----------| | Parallel multi-model queries | Yes | Yes | | Typed model responses | Yes | Yes | | Advisor personas | - | Yes | | Persona-tuned system prompts | - | Yes | | Dynamic briefing (context intake) | - | Yes | | Synthesis with consensus scoring | - | Yes | | Structured Decision Memo | - | Yes | | SSE streaming deliberation | - | Yes | | BYOK discount (20% per key) | - | Yes |

curl -X POST https://api.decisionmemos.com/v1/deliberate \
  -H "Authorization: Bearer dm_live_..." \
  -H "Content-Type: application/json" \
  -d '{
    "question": "Should we migrate to microservices?",
    "criteria": [
      { "name": "Team readiness" },
      { "name": "Timeline" }
    ],
    "byok": {
      "openai": "sk-..."
    }
  }'

BYOK Discount

Supply your own provider API keys and save:

  • 1 key → 20% off
  • 2 keys → 40% off
  • 3 keys → 60% off
  • 4 keys → 80% off

Plans

| Plan | Memos | |------|-------| | Starter ($14/mo) | 5/month | | Pro ($29/mo) | 40/month | | Team ($99/mo) | 200/month | | Enterprise | Unlimited |

The Decision Memo

Every paid memo produces a structured artifact:

  • Verdict — Synthesised recommendation with consensus scoring (strong / moderate / weak)
  • Perspectives — Each advisor's individual analysis
  • Consensus map — Where the panel agreed and diverged
  • Risks — Identified risks with mitigations
  • Trade-offs — Key tensions the decision involves
  • Next steps — Prioritised implementation actions

Advisors

| Advisor | Role | Strength | |---------|------|----------| | The Strategist | Big-picture thinking | Balanced, diplomatic, sees all angles | | The Analyst | Risk & nuance | Identifies second-order consequences | | The Challenger | Breaking groupthink | Challenges premises, calls out weak logic | | The Architect | Structure & implementation | Turns ideas into frameworks with evidence |

SDK Structure

src/
  index.ts              # Public exports
  multi-model-query.ts  # MultiModelQuery class
  types.ts              # TypeScript interfaces
  constants.ts          # Shared constants
  clients/              # AI provider clients
    openai-client.ts
    anthropic-client.ts
    xai-client.ts       # Grok
    google-client.ts    # Gemini
    model-interface.ts  # BaseModelClient + retry logic
    index.ts

Documentation

Full documentation at decisionmemos.com/docs:

Attribution

If you ship the free SDK in your product, we'd appreciate a link: Powered by Decision Memos. You can use the exported DECISION_MEMOS_ATTRIBUTION constant for a consistent label and URL:

import { DECISION_MEMOS_ATTRIBUTION } from 'decisionmemos';

// { label: 'Powered by Decision Memos', url: 'https://decisionmemos.com' }

License

MIT — see LICENSE for details.