As others have said Huddersfield is a big place, and it depends which city or town you need to be near as it can take up to an hour to get to Huddersfield from some of the more lovely rural villages.
Skelmanthorpe, Denby Dale, cumberworth and Upper Denby are going towards more the Barnsley/Sheffield area but you can also get onto the motorway which is about a 20/25 minute drive away near Wakefield for easy access to Leeds and other cities.
Clayton west, scissett, flockton, Emley and Lepton (at a push) are more towards Wakefield. Hospital wise it’s easier to get to Pinderfields or Barnsley hospitals.
Marsden, Slaithwaite, Linthwaite, Golcar and Milnsbridge are more central to Huddersfield town and within reach of Manchester (road way) and the motorway at Huddersfield for the major cities.
Holmfirth, Honley and Meltham are easy reach of Manchester and about 20-30 minutes drive to Huddersfield, and about 30 minutes to Wakefield.
Places to avoid: Fartown, Sheepridge, Dalton, Waterloo, Almondbury, Lockwood, Crossland Moor, Fartown, paddock, Primerose Hill, Deighton, and Birkby.
More central nice villages are Lindley (it has shops, bars and restaurants and is near the hospital in Huddersfield, but if you need to go to Calderdale royal hospital you can be stuck in traffic for 30 minutes for what is only a 5-10 minute drive...) salendine nook (has shops) outlane (doesn’t really have many shops but is close to salendine nook) and Birchencliffe is close to Lindley.