cap-js-community / feature-toggle-library

SAP BTP feature toggle library enables Node.js applications using the SAP Cloud Application Programming Model to maintain live-updatable feature toggles via Redis.
https://cap-js-community.github.io/feature-toggle-library/
Apache License 2.0
5 stars 2 forks source link

go back to exporting classes #84

Closed rlindner81 closed 2 weeks ago

rlindner81 commented 2 weeks ago

I want the requires to run a minimal amount of code, and calling getInstance() to create an instance is not strictly needed and can even be destructive if the instance reacts to the environment. In this case, the timing of the require call becomes relevant and that's bad.