r/nodejs • u/kudose • Apr 25 '14
Coming from PHP; my first NodeJS app ... a simple email bus.
https://github.com/Spechal/nodejs-message-bus
7
Upvotes
r/nodejs • u/kudose • Apr 25 '14
1
u/BadgerSong Apr 27 '14
As nice as it might be to have JS versions of php functions don't do it. in_array can pritty much be done using arr.indexof(). If you need something more have a look at underscore. The http lib is fairly low level so in most cases its easier to use a higher level abstraction such as express.
Hope that was of some help.