Get JSONs from directory inside server of NodeJS+ExpressJS

后端 未结 0 1746
广开言路
广开言路 2020-12-23 22:17

I need simple code to load ALL json files from one directory to some variable. For example i have folder "public/data" with 2 JSON files:

public/data/a8c6.J

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