using only the tools you have on hand…

brew install ghostscript pdf2svg

ps2pdf -dEPSCrop image.eps image.pdf
pdf2svg image.pdf image.svg