Collision-resistant ids optimized for horizontal scaling and performance. For node and browsers.
Check if the process is running as root user, for example, one started with `sudo`
URL and cookie safe UIDs
Block users from running your app with root permissions
Create and translate standard UUIDs with shorter formats.
random string generator
Get the fullname of the current user
Get the passwd user entry from a username or uid
Create a 'gud nuff' (not cryptographically secure) globally unique id
Generate an unique ID for use in a distributed environment.
Node.js `os.userInfo()` ponyfill
Get the system default UID
Collision-resistant IDs optimized for horizontal scaling and performance
Try to downgrade the permissions of a process with root privileges and block access if it fails
The missing POSIX system calls
Try to downgrade the permissions of a process with root privileges
Generates cryptographically strong pseudo-random UIDs with custom size and base-encoding
Generates random tokens with custom size and base-encoding using the RFC 4122 v4 UUID algorithm
Get names of users by uids from /etc/passwd
powered by npms.io 🚀