nodejs import instead of require

Solutions on MaxInterview for nodejs import instead of require by the best coders in the world

showing results for - "nodejs import instead of require"
Philipp
23 Jun 2016
1Add:
2  "type": "module"
3to the end of your package.json