System
Generates fake data for many computer systems properties.
commonFileExt#
Returns a commonly used file extension.
commonFileName#
Returns a random file name with a given extension or a commonly used extension.Name | Type | Default | Description |
---|
ext | string | | Extension. Empty string is considered to be not set. |
commonFileType#
Returns a commonly used file type.
cron#
Returns a random cron expression.Name | Type | Default | Description |
---|
includeNonStandard | boolean | false | Whether to include a @yearly , @monthly , @daily , etc text labels in the generated expression. |
includeYear | boolean | false | Whether to include a year in the generated expression. |
directoryPath#
Returns a directory path.
fileExt#
Returns a file extension.Name | Type | Default | Description |
---|
mimeType | string | false | Valid mime-type |
fileName#
Returns a random file name with extension.Name | Type | Default | Description |
---|
extensionCount | number | 1 | Define how many extensions the file name should have. |
min | number | 1 | The minimum number extensions the file name should have. |
max | number | 1 | The maximum number extensions the file name should have. |
filePath#
fileType#
mimeType#
networkInterface#
Name | Type | Default | Description |
---|
interfaceSchema | 'index' | 'slot' | 'mac' | 'pci' | | The interface schema. Can be one of index , slot , mac , pci . |
interfaceType | 'en' | 'wl' | 'ww' | {{$helpers.arrayElement(['wl','en','ww'])}} | The interface type. Can be one of en , wl , ww . |
semver#
Modified atΒ 2024-09-02 07:38:20