The @loaders.gl/shapefile module handles the Shapefile format, a widely used binary format.
@loaders.gl/shapefile
npm install @loaders.gl/shapefile
SHPLoader