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-ball-selector

v1.0.0

Published

Golf ball compression selector based on swing speed. Full guide: https://golflaunchlab.com/guides/best-golf-ball-for-slow-swing-speed

Readme

golf-ball-selector

GolfLaunchLab PyPI npm License: MIT

Golf ball recommendation engine based on driver swing speed. Returns the optimal compression range and specific ball models matched to your swing speed and playing priority (distance, feel, or balanced).

For the complete guide with compression charts, ball reviews, and fitting recommendations, visit Best Golf Ball for Slow Swing Speed — GolfLaunchLab.com.


Installation

Python

pip install golf-ball-selector

JavaScript / Node.js

npm install golf-ball-selector

Usage

Python

from golf_ball_selector import recommend_ball, get_compression_guide, get_all_recommendations

# Recommend balls for a given swing speed and priority
result = recommend_ball(88, priority='distance')
print(result)
# {
#   'recommended_compression_range': '65-80 (mid compression)',
#   'ball_recommendations': [
#     {'name': 'Titleist Velocity', 'compression': 65, 'best_for': 'Maximum distance with low driver spin'},
#     {'name': 'TaylorMade Soft Response', 'compression': 70, 'best_for': 'Distance with a soft, responsive feel'}
#   ],
#   'swing_speed_category': 'Average swing speed (85-95 mph)',
#   'notes': 'Mid compression balls (65-80) are ideal for the average male golfer. ...'
# }

# Try different priorities
feel_result = recommend_ball(88, priority='feel')
print(feel_result['ball_recommendations'][0]['name'])
# 'TaylorMade Soft Response'

balanced_result = recommend_ball(72, priority='balanced')
print(balanced_result['recommended_compression_range'])
# '35-50 (ultra-low compression)'

# Get recommendations for all 3 priorities at once
all_recs = get_all_recommendations(100)
for priority, rec in all_recs.items():
    top_ball = rec['ball_recommendations'][0]['name']
    print(f"{priority}: {top_ball}")
# distance: Titleist Pro V1
# feel: Titleist Pro V1
# balanced: Titleist Pro V1

# Full compression guide table
guide = get_compression_guide()
for row in guide:
    print(f"{row['swing_speed_range']}: {row['compression_range']}")
# Under 75 mph: 35-50 (ultra-low compression)
# 75-85 mph: 50-65 (low compression)
# 85-95 mph: 65-80 (mid compression)
# 95-105 mph: 75-90 (mid-high compression)
# 105+ mph: 90+ (high compression)

JavaScript

const { recommendBall, getCompressionGuide, getAllRecommendations } = require('golf-ball-selector');

// Recommend balls for a given swing speed and priority
const result = recommendBall(88, 'distance');
console.log(result);
// {
//   recommendedCompressionRange: '65-80 (mid compression)',
//   ballRecommendations: [
//     { name: 'Titleist Velocity', compression: 65, bestFor: 'Maximum distance with low driver spin' },
//     { name: 'TaylorMade Soft Response', compression: 70, bestFor: 'Distance with a soft, responsive feel' }
//   ],
//   swingSpeedCategory: 'Average swing speed (85-95 mph)',
//   notes: 'Mid compression balls (65-80) are ideal for the average male golfer. ...'
// }

// Try different priorities
const feelResult = recommendBall(88, 'feel');
console.log(feelResult.ballRecommendations[0].name);
// 'TaylorMade Soft Response'

const slowSwinger = recommendBall(72, 'balanced');
console.log(slowSwinger.recommendedCompressionRange);
// '35-50 (ultra-low compression)'

// Get recommendations for all 3 priorities at once
const allRecs = getAllRecommendations(100);
for (const [priority, rec] of Object.entries(allRecs)) {
  console.log(`${priority}: ${rec.ballRecommendations[0].name}`);
}
// distance: Titleist Pro V1
// feel: Titleist Pro V1
// balanced: Titleist Pro V1

// Full compression guide table
const guide = getCompressionGuide();
guide.forEach(row => {
  console.log(`${row.swingSpeedRange}: ${row.compressionRange}`);
});
// Under 75 mph: 35-50 (ultra-low compression)
// 75-85 mph: 50-65 (low compression)
// 85-95 mph: 65-80 (mid compression)
// 95-105 mph: 75-90 (mid-high compression)
// 105+ mph: 90+ (high compression)

Compression Guide

| Swing Speed | Compression Range | Example Balls | |-------------|------------------|---------------| | Under 75 mph | 35-50 (ultra-low) | Callaway Supersoft (38), Srixon Soft Feel (60) | | 75-85 mph | 50-65 (low) | Bridgestone e6 (50), Titleist TruFeel (60) | | 85-95 mph | 65-80 (mid) | Titleist Velocity (65), TaylorMade Soft Response (70) | | 95-105 mph | 75-90 (mid-high) | Titleist Pro V1 (87), Bridgestone Tour B RX (78) | | 105+ mph | 90+ (high) | Titleist Pro V1x (97), TaylorMade TP5 (85) |


Priority Options

| Priority | Description | |----------|-------------| | distance | Optimizes for maximum carry and total distance | | feel | Prioritizes soft feel and greenside control | | balanced | Best all-around ball for the speed category |


Related Guides on GolfLaunchLab


Methodology

Ball recommendations are based on the relationship between driver club head speed and ball compression. A ball compresses properly at impact only when the golfer generates enough speed — too soft a ball at high speeds over-compresses and loses control; too firm a ball at slow speeds under-compresses and loses distance.

Compression ratings and ball models are sourced from manufacturer specifications and independent launch monitor testing data. For a deeper breakdown of how launch monitors measure compression effects, see GolfLaunchLab.com.


Related


License

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