Module
Faker.String
- Package
- purescript-faker-ffi
- Repository
- philippedev101/purescript-faker-ffi
#alphanumeric Source
alphanumeric :: Gen StringGenerate a random alphanumeric string with default options.
#alphanumericOpts Source
alphanumericOpts :: AlphanumericOpts -> Gen StringGenerate a random alphanumeric string with options (length, casing).
#AlphanumericOpts Source
type AlphanumericOpts = { casing :: String, length :: Int }#numericOpts Source
numericOpts :: NumericOpts -> Gen StringGenerate a random numeric string with options (length, allowLeadingZeros).
#NumericOpts Source
type NumericOpts = { allowLeadingZeros :: Boolean, length :: Int }#hexadecimal Source
hexadecimal :: Gen StringGenerate a random hexadecimal string with default options.
#hexadecimalOpts Source
hexadecimalOpts :: HexadecimalOpts -> Gen StringGenerate a random hexadecimal string with options (length, casing, prefix).
#binaryOpts Source
binaryOpts :: BinaryOpts -> Gen StringGenerate a random binary string with options (length, prefix).
#BinaryOpts Source
type BinaryOpts = { length :: Int, prefix :: String }#fromCharacters Source
fromCharacters :: String -> Gen StringGenerate a random string from the given characters with default length.
- Modules
- Faker.
Airline - Faker.
Animal - Faker.
Book - Faker.
Color - Faker.
Commerce - Faker.
Company - Faker.
Database - Faker.
Datatype - Faker.
Date - Faker.
Finance - Faker.
Food - Faker.
Gen - Faker.
Git - Faker.
Hacker - Faker.
Helpers - Faker.
Image - Faker.
Internet - Faker.
Location - Faker.
Lorem - Faker.
Music - Faker.
Number - Faker.
Person - Faker.
Phone - Faker.
Science - Faker.
Seed - Faker.
String - Faker.
System - Faker.
Vehicle - Faker.
Word