Closed humbleCoder1990 closed 1 year ago
You can. Maybe you need to add "type": "module"
to your package.json.
Hi @humbleCoder1990, yes you should be able to import
the package assuming your environment is configured for it.
import MidiWriter from 'midi-writer-js';
I see the example is using require. Can't I use "import"?