const BMParser = require('bookmark-parser'); // Read from (NETSCAPE/Firefox) bookmark HTML file BMParser.readFromHTMLFile(htmlFilePath) .then(res => { ... }); // Read from (NETSCAPE/Firefox) bookmark HTML file and export BMParser.readFromHTMLFile(htmlFilePath, exportFilePath) .then(res => { ... }); // Read from (NETSCAPE/Firefox) bookmark HTML readStream BMParser.readFromHTMLReadStream(readStream)