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

golf-loft-chart

v1.0.0

Published

Golf club loft angle chart and gap analysis tool. Full charts: https://golflaunchlab.com/guides/golf-club-loft-chart

Readme

golf-loft-chart

GolfLaunchLab PyPI npm License: MIT

Golf club loft angle chart with lookup by club or category, plus a gap analysis tool that identifies loft gaps and distance overlaps in your bag. Covers drivers, woods, hybrids, irons, and wedges with standard modern lofts.

For full interactive loft charts, club fitting guides, and launch monitor reviews, visit GolfLaunchLab.com.


Installation

Python

pip install golf-loft-chart

JavaScript / Node.js

npm install golf-loft-chart

Usage

Python

from golf_loft_chart import get_loft, get_category, get_full_chart, gap_analysis, suggest_fill

# Look up a single club
info = get_loft("7-Iron")
print(info)  # {'club': '7-Iron', 'loft': 32.0, 'category': 'iron'}

# Also accepts shorthand names
print(get_loft("3H"))   # {'club': '3-Hybrid', 'loft': 19.0, 'category': 'hybrid'}
print(get_loft("PW"))   # {'club': 'PW', 'loft': 44.0, 'category': 'wedge'}

# Get all clubs in a category
irons = get_category("iron")
for club in irons:
    print(f"{club['club']}: {club['loft']} deg")

# Full chart (all clubs except putter)
chart = get_full_chart()
for club in chart:
    print(f"{club['club']:>12}: {club['loft']:>5.1f} deg  ({club['category']})")

# Analyze loft gaps in your bag
my_bag = ["Driver", "3-Wood", "5-Iron", "6-Iron", "7-Iron", "8-Iron", "9-Iron", "PW", "SW"]
analysis = gap_analysis(my_bag)
for gap in analysis["gaps"]:
    print(f"{gap['from_club']} -> {gap['to_club']}: {gap['gap_degrees']} deg [{gap['status']}]")
if analysis["issues"]:
    print("\nIssues found:")
    for issue in analysis["issues"]:
        print(f"  - {issue}")

# Suggest a club to fill a gap
suggestion = suggest_fill("3-Wood", "5-Iron")
print(f"\nGap: {suggestion['gap_degrees']} deg, ideal loft: {suggestion['ideal_loft']}")
for s in suggestion["suggestions"]:
    print(f"  Consider: {s['club']} ({s['loft']} deg)")

JavaScript

const { getLoft, getCategory, getFullChart, gapAnalysis, suggestFill } = require('golf-loft-chart');

// Look up a single club
const info = getLoft('7-Iron');
console.log(info);  // { club: '7-Iron', loft: 32, category: 'iron' }

// Shorthand names work too
console.log(getLoft('3H'));   // { club: '3-Hybrid', loft: 19, category: 'hybrid' }
console.log(getLoft('PW'));   // { club: 'PW', loft: 44, category: 'wedge' }

// Get all clubs in a category
const irons = getCategory('iron');
irons.forEach(c => console.log(`${c.club}: ${c.loft} deg`));

// Full chart
const chart = getFullChart();
chart.forEach(c => console.log(`${c.club}: ${c.loft} deg (${c.category})`));

// Gap analysis
const myBag = ['Driver', '3-Wood', '5-Iron', '6-Iron', '7-Iron', '8-Iron', '9-Iron', 'PW', 'SW'];
const analysis = gapAnalysis(myBag);
analysis.gaps.forEach(g => {
  console.log(`${g.fromClub} -> ${g.toClub}: ${g.gapDegrees} deg [${g.status}]`);
});
if (analysis.issues.length > 0) {
  console.log('\nIssues:');
  analysis.issues.forEach(issue => console.log(`  - ${issue}`));
}

// Suggest a fill club
const suggestion = suggestFill('3-Wood', '5-Iron');
console.log(`\nGap: ${suggestion.gapDegrees} deg, ideal: ${suggestion.idealLoft}`);
suggestion.suggestions.forEach(s => console.log(`  Consider: ${s.club} (${s.loft} deg)`));

Standard Loft Chart

| Club | Loft | Category | |------|------|----------| | Driver | 10.5 | Wood | | 3-Wood | 15.0 | Wood | | 5-Wood | 18.0 | Wood | | 7-Wood | 21.0 | Wood | | 3-Hybrid | 19.0 | Hybrid | | 4-Hybrid | 22.0 | Hybrid | | 5-Hybrid | 25.0 | Hybrid | | 4-Iron | 23.0 | Iron | | 5-Iron | 26.0 | Iron | | 6-Iron | 29.0 | Iron | | 7-Iron | 32.0 | Iron | | 8-Iron | 36.0 | Iron | | 9-Iron | 40.0 | Iron | | PW | 44.0 | Wedge | | GW | 50.0 | Wedge | | SW | 54.0 | Wedge | | LW | 58.0 | Wedge |


Why Loft Gaps Matter

The loft difference between consecutive clubs directly determines your distance gapping. A standard 3-4 degree gap between irons produces roughly 10-15 yards of distance separation. Gaps larger than 5 degrees leave "dead zones" in your yardage coverage, while gaps under 2 degrees create distance overlap where two clubs fly the same distance.

Modern game-improvement irons have been "de-lofted" compared to traditional sets -- today's 7-iron often has the loft of a traditional 6-iron. This makes loft gap analysis more important than ever when building a set.

For deeper analysis of how loft affects distance and which clubs belong in your bag:


Related


License

MIT License -- copyright 2026 GolfLaunchLab. See LICENSE for details.