I’m trying to create an Excel spreadsheet in Sketch. I have tried two npm packages (
exceljs), and they seem fine, but they both rely on the
fs module to run, which of course isn’t present with Sketch. (They appear to require this module even when not actually writing files).
Can anyone help me figure out run a module that requires
fs within a Sketch plugin. (I know about
@skpm/fs, but I'm not sure how to get a third party plugin to use that instead of the regular
Note - there is actually another npm module (
xslx) which doesn’t rely on the
fs module, but unfortunately that doesn't allow cell formatting.
Thanks in advance