DEV Community

Discussion on: How to create a Twitter Bot using Node.js and Heroku

Collapse
 
shadowtime2000 profile image
shadowtime2000 • Edited

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.