@trap_stevo/user-aura
v0.0.4
Published
Empowers real-time access to active OS users and signed-in user details, delivering precise control for security checks, auto-authentication detection, user management, and system diagnostics. Ideal for applications that demand reliable, user-centric data
Readme
UserAura
Empowers real-time access to active OS users and signed-in user details, delivering precise control for security checks, auto-authentication detection, user management, and system diagnostics. Ideal for applications that demand reliable, user-centric data handling, this tool provides unparalleled visibility into the user environment, elevating system intelligence with clean, efficient, and insightful access to critical user data.
Installation
npm installUsage
const userAura = require('@trap_stevo/user-aura');
async function main() {
const signedInUser = userAura.getSignedInUser();
console.log("Signed-in user:", signedInUser);
const allUsers = await userAura.getAllUsers();
console.log("All current users:", allUsers);
}
main();Functions
- getSignedInUser: Returns details of the currently signed-in user.
- getAllUsers: Asynchronously returns all current user sessions on the OS.
License
See License in LICENSE.md
