Where you are holding the keys you could make it a .json file instead of using module.exports with a .js file. You wouldn't have to change anything in the code except for renaming the require from ./config to ./config.json.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Where you are holding the keys you could make it a
.json
file instead of usingmodule.exports
with a.js
file. You wouldn't have to change anything in the code except for renaming therequire
from./config
to./config.json
.