Closed bitsandtea closed 3 years ago
Should help solve your problem: https://stackoverflow.com/questions/31354559/using-node-js-require-vs-es6-import-export
I just went with a package named simple-json-db
it was so easy to set up, may help others who are struggling
@bitsandtea perfect, thanks!
Hello,
I am having issues importing the package in my project:
Using require doesn't work neither. Any ideas?