Skip to main content
method Process.umask
Process.umask(): number
Deprecated

process.umask() returns the Node.js process's file mode creation mask. Child processes inherit the mask from the parent process.

Return Type

number
Process.umask(mask: string | number): number
Deprecated

Can only be set if not in worker thread.

Parameters

mask: string | number

Return Type

number
Back to top