The New Jersey Assembly on Monday voted to impose a set of taxes on the growing home-sharing industry.

The Assembly, in a 46-28 vote, approved A-4587, which would impose state sales and occupancy taxes on the operators of home-sharing facilities, as well as other taxes, depending on the particular municipality.

The move is part of an effort to regulate an industry dominated by San Francisco-based Airbnb, even as some towns in the state take steps toward banning the practice within their borders.