@bengrue you just publish it to npm, and nbbpm will automatically pick it up
How get current user data in nodebb
I need to get the current user data without the uid valuein my library.js. Anyone can help me?
You can't get the current user data without their uid. If you have access to the express
reqobject you can grab it with
req.uidor if it is a socket call then its
socket.uid. The value of uid is 0 if the user is not logged in.