Returns a random file name with a given extension or a commonly used extension.
Optional
extension: stringThe file extension to use. Empty string is considered to be not set.
Returns a random cron expression.
Optional
options: { includeNonStandard?: boolean; includeYear?: boolean }The optional options to use.
Optional
includeNonStandard?: booleanWhether to include a @yearly
, @monthly
, @daily
, etc text labels in the generated expression.
Optional
includeYear?: booleanWhether to include a year in the generated expression.
Returns a random file name with extension.
Optional
options: { extensionCount?: number | { max: number; min: number } }An options object.
Optional
extensionCount?: number | { max: number; min: number }Define how many extensions the file name should have.
Returns a random network interface.
Optional
options: {The options to use.
Optional
interfaceSchema?: "index" | "slot" | "mac" | "pci"The interface schema. Can be one of index
, slot
, mac
, pci
.
Optional
interfaceType?: "en" | "wl" | "ww"The interface type. Can be one of en
, wl
, ww
.
Generates fake data for many computer systems properties.