NodeJS - Dynamically import built in modules

后端 未结 0 1157
小鲜肉
小鲜肉 2020-12-14 20:20

I\'d like to get a built in module (for example Math or path or fs), whether from the global object or require, I thought about doing something like this:

fun         


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