Google is planning a major expansion of its presence in New York, adding enough real estate there to nearly double its current staff there, according to a published report.

A story in the online edition of the Wall Street Journal on Wednesday, citing people familiar with the matter, reported the expansion would make room for almost 20,000 employees -- a number that would be near the estimated 25,000 jobs Amazon.com (AMZN - Get Report) would add if it follows through on its plans for a new office in New York.

Google, a unit of Alphabet (GOOGL - Get Report) , is close to a deal to buy or lease a planned 1.3 million-square-foot office building at St. John's Terminal in the city's West Village neighborhood, the Journal reported.

According to the report, a Google spokeswoman declined to comment on any talks about the St. John's Terminal property. Google could not be reached late Wednesday for comment on the Journal story.

It was recently reported that Amazon's search for a second headquarters location appears to be over. After being wooed by many cities around the U.S., the Seattle-based technology and e-commerce giant has reportedly decided to split the headquarters between Long Island City, N.Y. and Crystal City, Va. The two cities beat out other major metropolitan areas, including Chicago, Dallas, and Miami.

Amazon and Alphabet are holdings in Jim Cramer's Action Alerts PLUS member club. Want to be alerted before Jim Cramer buys or sells these stocks? Learn more now.