Determining if script was called directly with NodeJS Modules

后端 未结 0 883
忘掉有多难
忘掉有多难 2020-11-22 06:18

How do you know if a script was called directly with NodeJS modules? (i.e. where the package.json specifies "type": "module")

相关标签:
回答
  • 消灭零回复
提交回复
热议问题