James Paxton has gotten plenty of offense behind him during his seven-game winning streak, and that was the case again Tuesday, when the Yankees blasted five homers in a 10-1 victory over the Rangers at the Stadium.

On this night, however, Paxton didn’t need any assistance.

He gave up just one hit — and two base runners — in seven dominant scoreless innings in his best start since April.

“He kind of had that unhittable look to him tonight,’’ Aaron Boone said. “He’s been throwing the ball really well of late, but I thought tonight was about as good as he’s looked.’’

Paxton didn’t allow a hit until Isiah Kiner-Falefa grounded a single through the right side of the infield with two outs in the fifth inning.

The left-hander whiffed five of the first six batters he faced, with just a two-out walk in the first mixed in.

“I’m just letting it rip,’’ Paxton said of his confident approach on the mound. “And it’s nice having these guys score 10 runs behind me.”

Paxton’s only better outing this season was when he tossed eight scoreless in a win over the Red Sox on April 16 in The Bronx in just his fourth start as a Yankee.

That success wasn’t sustained and Paxton dealt with a knee injury, bad first innings and an ERA that was inching towards 5.00 by the end of July.

Since the beginning of August, however, Paxton has been mostly excellent. He hardly needed to be on Tuesday, as the Yankees lineup erupted after being shut out Monday for the first time in more than a year.

With their 220-game streak of scoring at least one run snapped, they got to Rangers opener Edinson Volquez in no time on Tuesday. Gary Sanchez belted the first of his two homers on the night, a two-out, two-run shot to center in the first inning.

Paxton made that slim lead hold up until the offense poured on six more runs in the sixth.

The first six Yankees reached and scored in the inning, as DJ LeMahieu and Aaron Judge led off with singles before Didi Gregorius’ three-run homer.

Sanchez followed with his second blast of the night. Then, after Edwin Encarnacion singled, Brett Gardner hit the Yankees’ third home run of the inning to make it 8-0.

“You name it, everything was really nice tonight,’’ Sanchez said through an interpreter.

Encarnacion, in his first game back from a fractured right wrist, slammed a two-run shot in the eighth to give the Yankees a 10-0 lead.

The Yankees’ lineup bouncing back from being shut out was hardly a surprise, so the more encouraging takeaway on Tuesday was another impressive performance from Paxton, who is 7-0 with a 2.98 ERA and 51 strikeouts in 42 ¹/₃ innings in his last seven outings — including this gem.

Paxton continued to overwhelm hitters after Kiner-Falefa’s single. He retired the next (and final) seven hitters he faced and matched his season-high of 12 strikeouts before the end of the sixth inning.

He ended up allowing just two base runners and with the playoffs less than a month away, appears to be peaking at the right time after an inconsistent first year as a Yankee.

The development of his curveball has been key for Paxton — as has his approach of going right at hitters.

“It helps my mechanics,’’ Paxton said. “My pitches are better when I’m aggressive.”

“It was good to see him build on what has been a lot of momentum here in the second half,’’ Aaron Boone said.

Jonathan Loaisiga took over for Paxton in the eighth and gave up a home run to Scott Heineman in the ninth to spoil the shutout.

“I just want to keep going strong throughout September and into the playoffs,’’ Paxton said.