Function normalizeOptions
- normalizeOptions(options, encoding?, flag, mode?): {
encoding?: BufferEncoding | null;
flag: string;
mode: number;
} Internal
Parameters
- options: undefined | WriteFileOptions | (EncodingOption & { flag?: OpenMode | undefined; })
- encoding: null | BufferEncoding = 'utf8'
- flag: string
- mode: number = 0
Returns {
encoding?: BufferEncoding | null;
flag: string;
mode: number;
}
Optional
encoding?: BufferEncoding | null
flag: string
mode: number
Normalizes options