The latest downsizing comes from New York-based Mrs. Green’s Neighborhood Market, which is closing five stores — or 50 percent of its business — this week, including its year-old West Village location which shuttered on Tuesday, the company said.

Like many of its peers, Mrs. Green’s has been contracting over the past several years as consumers buy more groceries online or more cheaply from discount operators like Costco.

“We are in the midst of a shakeout that started with the A&P bankruptcy,” said Dan Glickberg, a partner in food consultancy Rodeo CPG. “The smaller independent grocers who haven’t evolved over the years don’t have the wherewithal to stay in business.”

Mrs. Green’s has struggled in recent weeks to keep its shelves stocked, as its distributors withheld products because of the company’s late payments.

“While the closure of any location is difficult, they are also necessary as we focus on our core, profitable stores,” the company said in a statement.

The five remaining stores are in Westchester County, where the company opened its first store in 1991. There are two stores in Connecticut that are closing as are the Rye and Tarrytown stores in Westchester.

Mrs. Greens’ chief executive, Pat Brown, who was brought in almost three years ago to lead an expansion, stepped down. Existing management is searching for his replacement, the company said.