Skip to main content
constants.O_CREAT - fs - Node documentation
variable constants.O_CREAT

Usage in Deno

import { constants } from "node:fs";

Constant for fs.open(). Flag indicating to create the file if it does not already exist.

Type

number