Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deno_faker/lib/image_providers/lorempixel.ts>Lorempixel

Deno port of https://github.com/Marak/faker.js
Latest
class Lorempixel
import { Lorempixel } from "https://deno.land/x/deno_faker@v1.0.3/lib/image_providers/lorempixel.ts";

Constructors

new
Lorempixel(faker: any)

Index Signatures

[key: string]: any

Methods

abstract(
width: number,
height: number,
randomize: boolean,
)

abstract

animals(
width: number,
height: number,
randomize: boolean,
)

animals

avatar

business(
width: number,
height: number,
randomize: boolean,
)

business

cats(
width: number,
height: number,
randomize: boolean,
)

cats

city(
width: number,
height: number,
randomize: boolean,
)

city

fashion(
width: number,
height: number,
randomize: boolean,
)

fashion

food(
width: number,
height: number,
randomize: boolean,
)

food

image(
width: number,
height: number,
randomize: boolean,
)

image

imageUrl(
width: number,
height: number,
category: string,
randomize: boolean,
)

imageUrl

nature(
width: number,
height: number,
randomize: boolean,
)

nature

nightlife(
width: number,
height: number,
randomize: boolean,
)

nightlife

people(
width: number,
height: number,
randomize: boolean,
)

people

sports(
width: number,
height: number,
randomize: boolean,
)

sports

technics(
width: number,
height: number,
randomize: boolean,
)

technics

transport(
width: number,
height: number,
randomize: boolean,
)

transport