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

fedcomp-index-scoring

v2026.3.5

Published

FedComp Index scoring engine. Computes posture scores and posture classes for federal contractors from USASpending award data.

Readme

FedComp Index Scoring

FedComp Index

Federal contractor posture scoring. Scores any federal contractor from 0 to 100 based on public award data from USASpending.gov.

Each contractor receives a FedComp Index score and a posture class:

  • Class 1 (score 60+) - dominant award volume, typically $100M+ over 5 years
  • Class 2 (score 40-59) - mid-tier, typically $5M-$100M
  • Class 3 (below 40) - emerging or low-volume

Install

npm install fedcomp-index-scoring

Usage

const { scoreContractor, PostureClass } = require("fedcomp-index-scoring");

const result = scoreContractor(15_000_000, "2025-09-15");

result.fedcompIndex;   // 58
result.postureClass;   // "Class 2"
result.volumeDriver;   // 53
result.recencyDriver;  // 100

FedComp Index scoring methodology

Two drivers, no normalization:

| Driver | Weight | How it works | |--------|--------|-------------| | Award volume | 90% | log10 of total dollars won, mapped to 0-100 | | Award recency | 10% | Last award date, bucketed by age |

The FedComp Index score is an absolute measure. A contractor scoring 60 always represents roughly the same award volume regardless of state or time period. Scores are not percentile-ranked against peers.

Posture classes use fixed thresholds tied to the score:

| Posture class | FedComp Index score | Typical award volume | |---------------|--------------------|--------------------| | Class 1 | 60-100 | $100M+ | | Class 2 | 40-59 | $5M-$100M | | Class 3 | 0-39 | Under $5M |

Full methodology: fedcompindex.org/methodology

Related packages

| Package | What it does | |---------|-------------| | fedcomp-index | Meta-package (installs both) | | fedcomp-index-scoring | Scoring engine (this one) | | fedcomp-index-data | Pre-scored contractor datasets |

Also available on PyPI

pip install fedcomp-index-scoring

Data sources

All data is sourced from public federal records:

  • USASpending.gov - award history, dollar amounts, agencies, NAICS codes, PSC codes
  • SAM.gov - entity registration, certifications, CAGE/UEI
  • SBA.gov - small business certification verification

Live rankings

Scored contractor rankings with dossier pages, proximity maps, and spectator tracking:

  • Nevada - 349 contractors scored

Datasets

Pre-scored datasets available for download:

Links

Citation

@software{fedcomp_index,
  title = {FedComp Index},
  author = {FedComp Index},
  url = {https://fedcompindex.org/},
  year = {2026}
}

License

MIT