Skip to content

Various functions designed for generating random data of various different types. These functions were cannibalized from various utility projects, fuzzer projects, etc. They were moved here to centralize and isolate them for public use.

License

Notifications You must be signed in to change notification settings

opsimathically/randomdatatools

Repository files navigation

randomdatatools

Tools for generating random data of various types. These tools were taken from various fuzzer projects of mine, and consoldiated here for ease of use.

Install

npm install @opsimathically/randomdatatools

Building from source

This package is intended to be run via npm, but if you'd like to build from source, clone this repo, enter directory, and run npm install for dev dependencies, then run npm run build.

Usage

See API Reference for documentation

See unit tests for usage examples

APIs

  • randomIntegerBetween
  • randomNegativeIntegerBetween
  • randomBinaryBufferBetween
  • randomBinaryBuffer
  • randomTimeBetween
  • randomString
  • randomStringStringBetweenLength
  • randomHexString
  • randomAlphabetString
  • randomArrayOfAlphaStrings
  • randomAlphabetStringBetweenLength
  • randomAlphanumericString
  • randomAlphanumericStringBetweenLength
  • randomIPV4Address
  • randomArrayOfIPV4Addresses
  • randomizeValuesOfSummableArray
  • randomGuid
  • randomDoubleLengthGuid

About

Various functions designed for generating random data of various different types. These functions were cannibalized from various utility projects, fuzzer projects, etc. They were moved here to centralize and isolate them for public use.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published