• The simplest way I can think of doing it is to require("http://localhost/credentials") - you could set up a webserver on your own computer for it. You can even set to server up to only accept local connections.

    I'd toyed with the idea of adding a 'macros' section into the IDE so you could set up constants that would get replaced in your code before it was uploaded. Not sure if that'd be any help?

  • The idea is to make it simple for those who clone the GitHub repo. If require worked the way I want it they would just run the project without the need to clone the modules separately. (I also don't want to publish those modules separately because they are very custom and made for a particular project)

    The local server is, of course, too overcomplicated for this purpose.

About

Avatar for Gordon @Gordon started