1.0.8 • Published 8 years ago

secretive v1.0.8

Weekly downloads
3
License
ISC
Repository
github
Last release
8 years ago

#installation

$ npm install secrets

secret(length)

  1. Returns a random string, useful for key/secret generation.
  2. The length of the random string is controlled by the argument.
  3. On not passing the argument, the length is taken as 128.

randomize(max, min, exceptions)

  1. Returns a random number (max and min included).
  2. First argument is the upper bound of the range.
  3. Second argument is the lower bound of the range.
  4. The numbers to be excluded from the range can be passed in an array, as the third argument.
1.0.8

8 years ago

1.0.7

8 years ago

1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago