Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

std/node/internal/validators.mjs

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
import * as mod from "https://deno.land/std@0.177.0/node/internal/validators.mjs";

Functions

Parse and validate values that will be converted into mode_t (the S_* constants). Only valid numbers and octal strings are allowed. They could be converted to 32-bit unsigned integers or non-negative signed integers in the C++ land, but any value higher than 0o777 will result in platform-specific behaviors.