Skip to content
Interfaceutilsv0.8.17

FormatFileOptions

Options for formatting file paths.

interface FormatFileOptions

Properties

onlyDir

Whether to return only the directory part of the path.

onlyDir?: boolean

Default:false

prefix

A prefix to prepend to the formatted path.

prefix?: string

Default:'./'