Displaying 1 to 20 from 32 results

superb - Get superb like words

  •    Javascript

Currently ~100 words. I'm not accepting more words.The word list itself is just a JSON file and can be used wherever.




tempfile - Get a random temporary file path

  •    Javascript

Checkout out tempy which is better take on this module.Extension to append to the path.

tempy - Get a random temporary file or directory path

  •    Javascript

Get a temporary file path you can write to.You usually won't need either the extension or name option. Specify them only when actually needed.

unique-random - Generate random numbers that are consecutively unique

  •    Javascript

Useful for things like slideshows where you don't want to have the same slide twice in a row.Returns a function that when called will return a random number that is never the same as the previous.

unique-random-array - Get consecutively unique elements from an array

  •    Javascript

Useful for things like slideshows where you don't want to have the same slide twice in a row.Returns a function that when called will return a random element that's never the same as the previous.


unique-string - Generate a unique random string

  •    Javascript

Returns a 32 character unique string. Matches the length of MD5, which is unique enough for non-crypto purposes.

pick-random - Pick random items from a list

  •    Javascript

Useful for making decisions, picking a winner, or anything else randomness can help you with.Returns an Array.

hash-index - A hashing function which returns integers with a possible max value

  •    Javascript

A function which will always return the same output given the same input. The output is an integer in the range 0..n. By default n is infinity-1, but another max value can be provided as an optional 2nd argument.The output is not guaranteed to be unique - only to be predictable based on the input.

secure-random - A simple JavaScript component to normalize the creation of cryptographically strong random values

  •    Javascript

A simple JavaScript component to normalize the creation of cryptographically strong random values.Context switching between the browser and Node.js and creating cryptographically secure random numbers is annoying. This normalizes the behavior. Used by CryptoCoinJS and BitcoinJS.

glsl-random - pseudo-random 2D noise for glslify

  •    C

However, the 'classic' lowp version (with no precision specified) is also included here. Some may find it useful for targeted mobile GPUs.