Hacker News new | ask | show | jobs
by simon_renoult 4380 days ago
"require('./user/auth')(User);" is a simple call to the "./user/auth" module with User as a parameter. Check https://github.com/NodeBB/NodeBB/blob/master/src/user/auth.j...