brillout / wildcard-api

Functions as API.
MIT License
368 stars 14 forks source link

Consider to abandon singleton endpoints instance #33

Closed yosbelms closed 4 years ago

yosbelms commented 4 years ago

Currently endpoints is a singleton object which gives room for third party libraries to add unwanted edpoints.

You can find more about this here

brillout commented 4 years ago

In JavaScript, the source code of all your app's dependencies need to be trusted; any "third party library" has access to your OS which is far worse than knowing about the API.