Search code examples
node.jsparsinghyperlinkxlsx

Parse xlsx file containing hyperlink with node.js


I want to parse an xlsx file which contains hyperlinks on my node.js server. I tried some xlsx parser in npm (like 'excel-parser', 'xlsx'), but I couldn't get the hyperlink values (only the text value). Does anyone knows how to extract the hyperlink using node.js ?


Solution

  • If you dislike the existing solutions, you can always unzip the file (OfficeOpen XML files are zipped directories with sereval files in it), and parse the main part yourself in the search of links.