The company has also rolled out Prep+Pared Meal Kits, a move to compete with Blue Apron, HelloFresh and Plated, which was bought by the supermarket chain Albertsons last year.

Kroger has stepped up its online efforts even further this year. It recently bought meal-kit company Home Chef in a deal that could eventually be worth up to $700 million.

And Kroger invested $250 million for a stake in the red hot British online supermarket delivery company Ocado to help manage automated warehouses.

It’s no wonder that Kroger CEO Rodney McMullen is excited about the future.

“Everything we are doing today will enhance our ability to provide everyone in America with the convenience of shopping for anything, anytime and anywhere,” he said during a conference call with analysts.

McMullen added that customers who are shopping online at Kroger and its other chains are spending more per week than those who just buy groceries at the physical stores.

Analysts are impressed with the online growth too.

Neil Saunders, managing director of GlobalData Retail, said in a report that the Ocado and Home Chef deals “both speak to the fact that Kroger is looking to stay one step ahead of the competition by gaining a toehold in rapidly-growing segments of the market.”

And Ed Kennedy, senior director of commerce at marketing software company Episerver, said in an email to CNNMoney that Kroger’s latest results show it “has adapted to growing customer needs for more seamless and convenient shopping options as part of the everyday grocery shopping.”

“Kroger is evolving with its consumer instead of falling behind, and it has paid off,” Kennedy added.

In other words, Kroger is not waving the white flag in the online grocery wars. Quite the contrary. It’s playing offense, taking it right to Amazon and Walmart to try and beat them at their own game.