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

cardctl

v0.1.3

Published

Credit card decisioning and calculations - part of the LendCtl Suite

Readme

cardctl

Credit card decisioning and calculations. Part of the LendCtl Suite.

Features

  • Credit Limit — Calculate recommended limit based on income, credit, and risk
  • APR Assignment — Risk-based pricing tiers
  • Balance Transfer — Analyze transfer opportunities with break-even analysis
  • CLI Eligibility — Check credit line increase eligibility

Installation

npm install -g cardctl

Quick Start

Calculate Credit Limit

cardctl limit --income 75000 --credit-score 720 --existing-limits 10000

Get APR Assignment

cardctl apr --credit-score 720 --prime-rate 8.5

Analyze Balance Transfer

cardctl transfer --balance 5000 --current-apr 22 --promo-apr 0 --promo-months 18 --fee 3

Check CLI Eligibility

cardctl cli --current-limit 5000 --account-age 12 --payment-history excellent --utilization 45 --credit-score 720

Commands

cardctl limit

Calculate recommended credit limit.

Options:

  • --income <amount> - Annual income (required)
  • --credit-score <score> - Credit score (required)
  • --existing-limits <amount> - Total existing credit limits
  • --monthly-debt <amount> - Monthly debt payments
  • --employment-months <months> - Months at current employer
  • --bankruptcy-years <years> - Years since bankruptcy (if any)
  • --format <type> - Output format (json|table)

cardctl apr

Calculate APR tiers based on credit profile.

Options:

  • --credit-score <score> - Credit score (required)
  • --prime-rate <rate> - Current prime rate (default: 8.5)
  • --format <type> - Output format (json|table)

cardctl transfer

Analyze balance transfer opportunity.

Options:

  • --balance <amount> - Current balance to transfer (required)
  • --current-apr <rate> - Current APR (required)
  • --promo-apr <rate> - Promotional APR (default: 0)
  • --promo-months <months> - Promotional period (default: 18)
  • --fee <percent> - Transfer fee percentage (default: 3)
  • --payment <amount> - Monthly payment (auto-calculated if omitted)
  • --format <type> - Output format (json|table)

cardctl cli

Check eligibility for credit line increase.

Options:

  • --current-limit <amount> - Current credit limit (required)
  • --account-age <months> - Account age in months (required)
  • --payment-history <quality> - Payment history: excellent|good|fair|poor (required)
  • --utilization <percent> - Current utilization % (required)
  • --credit-score <score> - Current credit score (required)
  • --last-increase <months> - Months since last increase
  • --format <type> - Output format (json|table)

Credit Tiers

| Tier | Score Range | Limit Multiplier | APR Margin | |------|-------------|------------------|------------| | Superprime | 750+ | 35% of income | 10.99% | | Prime | 700-749 | 25% of income | 15.99% | | Near-prime | 650-699 | 18% of income | 21.99% | | Subprime | 580-649 | 12% of income | 25.99% | | Deep Subprime | <580 | 5% of income | 29.99% |

JSON Output

All commands support --format json for programmatic use:

cardctl limit --income 75000 --credit-score 720 --format json | jq

Part of LendCtl Suite

License

Apache-2.0 © Satyan Avatara