Namespace: system

faker. system

Methods


<static> commonFileExt(type)

returns a commonly used file extension based on optional type

Parameters:
Name Type Description
type string

<static> commonFileExt(type)

returns a commonly used file extension based on optional type

Parameters:
Name Type Description
type string

<static> commonFileName(ext, type)

commonFileName

Parameters:
Name Type Description
ext string
type string

<static> commonFileName(ext, type)

commonFileName

Parameters:
Name Type Description
ext string
type string

<static> commonFileType()

returns a commonly used file type


<static> commonFileType()

returns a commonly used file type


<static> directoryPath()

returns directory path


<static> directoryPath()

returns directory path


<static> fileExt(mimeType)

fileExt

Parameters:
Name Type Description
mimeType string

<static> fileExt(mimeType)

fileExt

Parameters:
Name Type Description
mimeType string

<static> fileName(ext, type)

generates a file name with extension or optional type

Parameters:
Name Type Description
ext string
type string

<static> fileName(ext, type)

generates a file name with extension or optional type

Parameters:
Name Type Description
ext string
type string

<static> filePath()

returns file path


<static> filePath()

returns file path


<static> fileType()

returns any file type available as mime-type


<static> fileType()

returns any file type available as mime-type


<static> mimeType()

mimeType


<static> mimeType()

mimeType


<static> semver()

semver


<static> semver()

semver

Namespace: system

faker. system

Methods


<static> commonFileExt(type)

returns a commonly used file extension based on optional type

Parameters:
Name Type Description
type string

<static> commonFileExt(type)

returns a commonly used file extension based on optional type

Parameters:
Name Type Description
type string

<static> commonFileName(ext, type)

commonFileName

Parameters:
Name Type Description
ext string
type string

<static> commonFileName(ext, type)

commonFileName

Parameters:
Name Type Description
ext string
type string

<static> commonFileType()

returns a commonly used file type


<static> commonFileType()

returns a commonly used file type


<static> directoryPath()

returns directory path


<static> directoryPath()

returns directory path


<static> fileExt(mimeType)

fileExt

Parameters:
Name Type Description
mimeType string

<static> fileExt(mimeType)

fileExt

Parameters:
Name Type Description
mimeType string

<static> fileName(ext, type)

generates a file name with extension or optional type

Parameters:
Name Type Description
ext string
type string

<static> fileName(ext, type)

generates a file name with extension or optional type

Parameters:
Name Type Description
ext string
type string

<static> filePath()

returns file path


<static> filePath()

returns file path


<static> fileType()

returns any file type available as mime-type


<static> fileType()

returns any file type available as mime-type


<static> mimeType()

mimeType


<static> mimeType()

mimeType


<static> semver()

semver


<static> semver()

semver