Module

Faker.Image

Package
purescript-faker-ffi
Repository
philippedev101/purescript-faker-ffi

#avatar Source

avatar :: Gen String

Generate a random avatar URL.

#avatarGitHub Source

avatarGitHub :: Gen String

Generate a random GitHub avatar URL.

#url Source

url :: Gen String

Generate a random image URL with default dimensions.

#urlOpts Source

urlOpts :: UrlOpts -> Gen String

Generate a random image URL with specified dimensions.

#UrlOpts Source

type UrlOpts = { height :: Int, width :: Int }

#urlPicsumPhotos Source

urlPicsumPhotos :: Gen String

Generate a random Picsum Photos URL with default options.

#urlPicsumPhotosOpts Source

urlPicsumPhotosOpts :: UrlPicsumPhotosOpts -> Gen String

Generate a random Picsum Photos URL with options.

#UrlPicsumPhotosOpts Source

type UrlPicsumPhotosOpts = { blur :: Int, grayscale :: Boolean, height :: Int, width :: Int }

#dataUri Source

dataUri :: Gen String

Generate a random data URI with default options.

#dataUriOpts Source

dataUriOpts :: DataUriOpts -> Gen String

Generate a random data URI with options.

#DataUriOpts Source

type DataUriOpts = { color :: String, format :: String, height :: Int, width :: Int }

#personPortrait Source

personPortrait :: Gen String

Generate a random person portrait URL with default options.

#personPortraitOpts Source

personPortraitOpts :: PersonPortraitOpts -> Gen String

Generate a random person portrait URL with options.

#PersonPortraitOpts Source

type PersonPortraitOpts = { sex :: String, size :: Int }