Created
May 12, 2023 20:23
-
-
Save andyvanosdale/df8826fe80cf51d41e730b8665507786 to your computer and use it in GitHub Desktop.
excel4node transpilation issue with NPM
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env deno run --allow-write | |
import excel from 'npm:excel4node@1.8.2' | |
// Here, the program will run indefinitely | |
const workbook = new excel.Workbook() | |
// Fix is this line (no `new`): | |
const workbook = excel.Workbook() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment