unix-path-max

2.0.0 • Public • Published

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

Package Sidebar

Install

npm i unix-path-max

Weekly Downloads

0

Version

2.0.0

License

MIT

Unpacked Size

61.7 kB

Total Files

7

Last publish

Collaborators

  • sindresorhus