NBA

Knicks avoid bad loss to Timberwolves behind Melo’s 36

MINNEAPOLIS — The extra night in Minnesota now won’t be so painful.

Carmelo Anthony did everything Friday night but stop the blizzard in New York which has wrecked their travel plans.

The Knicks saved themselves from a nightmare two-game road trip by rallying from 11 points down in the final seven minutes to squeak out a 100-94 victory over the Timberwolves at Target Center. The Knicks closed the game on a 24-7 run.

Anthony bagged 36 points. He lit it up in the final eight minutes when he scored 12 points to erase the stench of the awful fourth quarter in D.C. during Wednesday’s loss to the awful Wizards. J.R. Smith’s 3-point play off a Minnesota turnover with 19.9 seconds left sealed it.

“I told Raymond [with four minutes left] I’m going to try to go get it,’’ Anthony said. “Being down 11, for the most part, we kept our composure and the way we did says a lot about us.’’

Anthony came alive late and gave the Knicks the lead for good with a runner to make it 91-90 with 2:20 left, then hit a pullup jumper with 1:10 remaining as the Knicks went up 95-92.

“He wasn’t going to let us lose,’’ coach Mike Woodson said. “He made offensive play after offensive play.

“Our backs were against the wall in the fourth quarter,’’ added Woodson, who became the fastest Knicks coach to 50 wins. “I thought they owned the third quarter. We dug a hole but we just kept fighting and our defense kicked in.’’

This was hardly a defensive gem, but the Knicks will take it as they made two key stops in the final 31 seconds.

The game-saving play came with the Knicks leading by one with 33.1 seconds left and the Timberwolves with the ball.

Point guard Luke Ridnour, amidst a big night, drove the lane and was blocked by Felton. The ball squirted to Smith, who raced downcourt for a layup and was fouled. He made the free throw for the 3-point play to give the Knicks a 98-94 lead with 19.9 seconds left

“I knew he wasn’t going to get his shot off,’’ Smith said. “We had a couple of tall guys in there. I was trying to wait until we got the ball and then try to leak out.’’

Ricky Rubio came down the other way after a timeout and was rejected by Tyson Chandler on a drive.

“I didn’t really want to lose back-to-back like that against two teams that we feel like we should beat,’’ Chandler said. “It’s going to be along night for us if we take the loss.’’

The Knicks had to stay overnight instead of their normal custom of flying out of Minneapolis after the game, stuck because of the Nemo blizzard hitting New York. They are hoping to fly back today in time for tomorrow’s 1 p.m. game against the Clippers.

Smith finished with 15 points and Amar’e Stoudemire and Steve Novak each had 11. Stoudemire’s highlight play came in the first half when he dunked on Greg Stiemsma.

There were 18 lead changes in the game and nine ties. The Timberwolves led 87-76 with 7:00 left as Rubio and Ridnour were putting on a clinic against the Knicks overmatched defense. They finished with a combined 38 points. Rubio had 18 with 11 assists.

Even Anthony got a tongue-lashing from Woodson for his lax play in the pick-and-roll defense.

“He wasn’t switching on the pick and rolls,’’ Woodson said.

So the Knicks nearly lost to a Timberwolves team that had lost 13 of their last 15 and is playing without injured All-Star Kevin Love.

“I don’t really see single coverages a lot,’’ Anthony said. “I was trying to take advantage and get to my spots and make something happen.’’

The Knicks’ defense has had trouble with point guards lately and last night had to deal with Rubio and Ridnour. It didn’t go well.

The Knicks blew their seven-point halftime lead and got blitzed in the third quarter, 31-18,as Ridnour and Rubio dominated. Ridnour scored 12 points in the third.

The Timberwolves simply had more energy than the Knicks in the third. Ridnour entered the final period shooting 9 of 12. Rubio, historically a poor outside shooter, drilled a 3-pointer in the quarter making him just 2-of-18 for the season.

Minnesota took a 76-70 lead into the fourth, and on the first possession of the final period Derrick Williams stole the ball at halfcourt and drove in for a dunk and 78-70 lead. Serbian big man Nikola Pekovic continued his low-post dominance against the Knicks, hurting them for 16 points.

But when it counted, the Knicks made the Timberwolves go away.

marc.berman@nypost.com