Get the maximum permitted length of a path of a Unix domain socket
Does not work on Windows.
$ npm install unix-path-max
import {unixPathMax} from 'unix-path-max';
console.log(await unixPathMax());
//=> 104
Returns a Promise for the maximum permitted length of a path.
Returns the maximum permitted length of a path.
$ npm install --global unix-path-max
$ unix-path-max
104