2.0.0 • Published 3 years ago

unix-path-max v2.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
3 years ago

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
2.0.0

3 years ago

1.0.1

9 years ago

1.0.0

9 years ago