All Questions
Tagged with information-hiding node.js
2
questions
2
votes
1
answer
3k
views
Hide an API key (in an environment variable perhaps?) when using Angular
I'm running a small Angular application with a Node/Express backend.
In one of my Angular factories (i.e. on the client side) I make a $http request to Github to return user info. However, a Github-...
1
vote
0
answers
263
views
Hiding node.js implementation modules in exported closure
I've got some "implementation" (private) modules in my node.js library, that I don't intend to be exported to any users of my library; however, it's required in index.js.
A simple example would be:
...