unix-path-max
v2.0.0
Published
Get the maximum permitted length of a path of a Unix domain socket
Downloads
6
Maintainers
Readme
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