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

creditctl

v0.1.3

Published

Credit report analysis and scoring for lending operations - part of the LendCtl Suite

Downloads

371

Readme

creditctl

Credit report analysis and scoring for lending operations. Part of the LendCtl Suite.

Features

  • Score Analysis — Tier classification, mortgage eligibility, rate impact
  • Report Analysis — Full tradeline analysis, risk flags, recommendations
  • Rapid Rescore — Simulate score improvement from paydowns
  • Tradeline Summary — Account breakdown by type and status
  • Utilization Optimization — Find optimal paydown strategies

Installation

npm install -g creditctl

Or use directly with npx:

npx creditctl --help

Quick Start

Analyze a Score

creditctl score 720

Output:

═══════════════════════════════════════════════════════════════
CREDIT SCORE ANALYSIS
═══════════════════════════════════════════════════════════════

Score:              720
Tier:               NEARPRIME
                    Good credit - standard rates, most programs available

MORTGAGE ELIGIBILITY
───────────────────────────────────────────────────────────────
  ✓ Conventional    Good rates
  ✓ FHA             3.5% down payment
  ✓ VA              Most lenders require 580-620 minimum
  ✓ USDA            Automated approval requires 640+
  ✓ Jumbo           Most lenders

RATE IMPACT
───────────────────────────────────────────────────────────────
  Your bracket:     720-739
  Est. rate impact: +0.25% vs best rate

💡 Improving 20 points would reach the next tier.
═══════════════════════════════════════════════════════════════

Analyze a Full Credit Report

creditctl analyze -f credit_report.json

Simulate Rapid Rescore

# How much would paying $5,000 toward balances improve my score?
creditctl rescore -f credit_report.json --paydown 5000

# What if I target 10% utilization?
creditctl rescore -f credit_report.json --target-util 10

# Include paying off collections
creditctl rescore -f credit_report.json --paydown 5000 --pay-collections

List Tradelines

# All tradelines
creditctl tradelines -f credit_report.json

# Summary only
creditctl tradelines -f credit_report.json --summary

# Only derogatory accounts
creditctl tradelines -f credit_report.json --derogatory

# Filter by type
creditctl tradelines -f credit_report.json --type revolving

Credit Report Format

creditctl expects a JSON credit report in this format:

{
  "consumer": {
    "name": "John Smith",
    "addresses": ["123 Main St, Anytown, CA 90210"],
    "dateOfBirth": "1985-03-15"
  },
  "bureau": "experian",
  "reportDate": "2026-02-26",
  "scores": [
    {
      "score": 720,
      "model": "fico8",
      "bureau": "experian",
      "date": "2026-02-26",
      "factors": [
        { "code": "14", "description": "Length of credit history", "impact": "positive" }
      ]
    }
  ],
  "tradelines": [
    {
      "creditor": "Chase Sapphire",
      "accountNumber": "****1234",
      "accountType": "revolving",
      "status": "current",
      "dateOpened": "2020-05-15",
      "creditLimit": 10000,
      "balance": 2500,
      "monthlyPayment": 100
    }
  ],
  "publicRecords": [],
  "inquiries": [
    {
      "inquirer": "Mortgage Lender",
      "date": "2026-02-01",
      "type": "hard"
    }
  ]
}

Programmatic Usage

import { analyzeCreditReport, simulateRescore, getScoreTier } from 'creditctl';

// Analyze a report
const analysis = analyzeCreditReport(creditReport);
console.log(`Score: ${analysis.representativeScore}`);
console.log(`Tier: ${analysis.scoreTier}`);
console.log(`Utilization: ${analysis.utilizationRatio}%`);

// Simulate rescore
const simulation = simulateRescore(creditReport, {
  payDownAmount: 5000,
  payOffCollections: true,
});
console.log(`Projected score: ${simulation.projectedScore} (+${simulation.scoreChange})`);

// Quick score tier check
const tier = getScoreTier(720);
console.log(`Tier: ${tier}`); // 'nearprime'

Score Tiers

| Tier | Score Range | Description | |------|-------------|-------------| | Superprime | 800+ | Exceptional credit, best rates | | Prime | 740-799 | Very good credit, excellent rates | | Near-prime | 670-739 | Good credit, standard rates | | Subprime | 580-669 | Fair credit, limited options | | Deep Subprime | <580 | Poor credit, very limited options |

Mortgage Eligibility by Score

| Program | Minimum Score | Notes | |---------|---------------|-------| | Conventional | 620 | 740+ for best rates | | FHA | 500 | 580+ for 3.5% down | | VA | 580 | Lender-specific | | USDA | 640 | Automated approval | | Jumbo | 700+ | Lender-specific |

Risk Flags Detected

creditctl automatically identifies:

  • Low credit scores
  • High utilization
  • Derogatory marks
  • Collections
  • Public records (bankruptcy, foreclosure)
  • Thin credit files
  • Excessive inquiries
  • Short credit history
  • Fraud alerts
  • Credit freezes

Part of LendCtl Suite

creditctl is designed to work with other LendCtl tools:

# Full lending workflow
creditctl analyze -f credit.json --format json | \
  finctl analyze --stdin | \
  mortctl eligible --stdin

License

Apache-2.0 © Satyan Avatara