Displaying 1 to 20 from 24 results

cuid - Collision-resistant ids optimized for horizontal scaling and performance.

  •    Javascript

Collision-resistant ids optimized for horizontal scaling and binary search lookup performance.Currently available for Node, browsers, Ruby, .Net, Go, PHP and Elixir (see ports below -- more ports are welcome).

node-hat - Generate random IDs and avoid collisions.

  •    Javascript

Generate random IDs and avoid collisions.Generate a random ID string with bits of data in a base.

eventid-js - Monotonically increasing per machine, globally unique eventids for JavaScript

  •    Javascript

A utility for generating monotonically increasing unique event ids across a network of services.




sudo-block - Block users from running your app with root permissions

  •    Javascript

When a file containing this function is run with root permissions it will exit and show an error message telling the user how to fix the problem, so they don't have to run it with sudo.Custom message.

passwd-user - Get the passwd user entry from a username or uid

  •    Javascript

Works on macOS and Linux. See user-info if you need cross-platform support.Accepts a username or uid number. Defaults to the current user (process.getuid()).


pwuid - getpwuid() Node.js binding - returns username, name, home directory, shell, gid from uid

  •    C++

If you're creating a reusable module you should probably use passwd-user instead, as it shells out rather than using a native binding.getpwuid() is a POSIX function and won't work on Windows.

downgrade - Sets the user identity of the process to `www-data`

  •    Javascript

The arguments can be either a numerical ID or a username/group string. If a string is specified, this method blocks while resolving it to a numerical ID.If the current user's permissions do not allow the user identity to be changed, this function will do nothing (no-op).

puid - Generate an unique ID depending on time, machine and process for use in a distributed environment

  •    Javascript

Generate an unique ID depending on time, machine and process for use in a distributed environment.All values (except machineID) are converted to base36.

fullname - Get the fullname of the current user

  •    Javascript

Tested on macOS, Linux, and Windows.In the rare case a name can't be found, you could fall back to username.

uid - generates unique ids

  •    Javascript

Generates unique ids. window.crypto is used when available, otherwise Math.random() is used as a fallback. Returns an unique id of length characters. Returned uids are base-64 encoded. Characters - and _ are used as the 63th and 64th character of the base, to allow use in URLs, CSS class names, etc.

unik - Generate approximately sortable IDs in a distributed environment.

  •    Javascript

unik generates unique sortable IDs that can be used by multiple processes simultaneously, without any communication between them. It is based on the Snowflake design and inspired by the article Sharding IDs at Instagram. Make sure you specify the unik version in your package.json.

node-scuid - A slim, fast alternative to cuid collision-resistant IDs

  •    Javascript

Collision-resistant IDs optimized for horizontal scaling and performance. A slim, alternative, and compatible implementation of cuid for node, also featuring a wide range of options, as well as custom random number generator support. It can serve as a drop-in replacement, and is also faster than cuid.

node-posix - The missing POSIX system calls for node.js

  •    C++

The missing POSIX system calls for Node. Changes the root directory of the calling process to that specified in path. This directory will be used for pathnames beginning with /. The root directory is inherited by all children of the calling process.

gud - Create a 'gud nuff' (not cryptographically secure) globally unique id

  •    Javascript

This is ever so slightly better than using something like _.uniqueId because it will work across multiple copies of the same module. Do not use this in place of actual UUIDs, security folks will hate me.






We have large collection of open source products. Follow the tags from Tag Cloud >>


Open source products are scattered around the web. Please provide information about the open source projects you own / you use. Add Projects.