Socket
Book a DemoInstallSign in
Socket

unix-path-max

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

unix-path-max

Get the maximum permitted length of a path of a Unix domain socket

latest
Source
npmnpm
Version
2.0.0
Version published
Maintainers
1
Created
Source

unix-path-max

Get the maximum permitted length of a path of a Unix domain socket

Does not work on Windows.

Install

$ npm install unix-path-max

Usage

import {unixPathMax} from 'unix-path-max';

console.log(await unixPathMax());
//=> 104

API

unixPathMax()

Returns a Promise for the maximum permitted length of a path.

unixPathMaxSync()

Returns the maximum permitted length of a path.

CLI

$ npm install --global unix-path-max
$ unix-path-max
104

Keywords

get

FAQs

Package last updated on 16 Aug 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts