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