Javascript – Exporting methods when publishing an npm package
I'm trying to publish an npm esm module that exports two methods. When the module is installed and imported I want the user to be able to import it like: import { convertCsvToWorkbook, createFlatfile } from 'csvtoflatfile'; console.log(convertCsvToWorkbook, createFlatfile); //…