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

menthurin

v0.1.0

Published

Lightweight claim consistency heuristics for short natural-language statements.

Readme

menthurin

menthurin is a tiny, dependency-free toolkit for checking whether short natural-language claims support, contradict, or merely relate to each other.

It is intentionally lightweight: the package uses token overlap, negation cues, hedge words, and a small antonym table instead of a full machine-learning model. That makes it fast enough for CLIs, local scripts, package hooks, and simple content-quality checks.

This repository is structured so the same idea can be published to both npm and PyPI under the same name.

What it does

  • Analyze a statement for content tokens, negation, and hedging.
  • Compare two short claims and label the relationship.
  • Audit a list of claims pairwise to surface likely contradictions.
  • Provide a small CLI in both ecosystems.

JavaScript

Install:

npm install menthurin

Use:

import { analyzeStatement, compareStatements, auditClaims } from "menthurin";

console.log(analyzeStatement("The service is probably online."));
console.log(compareStatements("The service is online.", "The service is not online."));
console.log(auditClaims([
  "The migration finished successfully.",
  "The migration did not finish.",
  "The dashboard is online."
]));

CLI:

menthurin analyze "The service is probably online."
menthurin compare "The service is online." "The service is not online."
menthurin audit "The migration finished." "The migration did not finish." "The dashboard is online."

Python

Install:

pip install menthurin

Use:

from menthurin import analyze_statement, compare_statements, audit_claims

print(analyze_statement("The service is probably online."))
print(compare_statements("The service is online.", "The service is not online."))
print(audit_claims([
    "The migration finished successfully.",
    "The migration did not finish.",
    "The dashboard is online.",
]))

CLI:

menthurin analyze "The service is probably online."
menthurin compare "The service is online." "The service is not online."
menthurin audit "The migration finished." "The migration did not finish." "The dashboard is online."

Relationship labels

  • support: the claims share core terms and point in the same direction.
  • contradiction: the claims share context but disagree through negation or antonyms.
  • related: the claims overlap, but not strongly enough to infer support.
  • unrelated: there is not enough shared context to say they are about the same thing.

Local verification

npm test
python3 -m unittest discover -s tests
npm pack
uv build