time-to-botec/squiggle/node_modules/@stdlib/constants/path/delimiter-posix/README.md
NunoSempere b6addc7f05 feat: add the node modules
Necessary in order to clearly see the squiggle hotwiring.
2022-12-03 12:44:49 +00:00

1.3 KiB

Path Delimiter

POSIX path delimiter.

Usage

var PATH_DELIMITER_POSIX = require( '@stdlib/constants/path/delimiter-posix' );

PATH_DELIMITER_POSIX

POSIX path delimiter.

var delimiter = PATH_DELIMITER_POSIX;
// returns ':'

Examples

var PATH_DELIMITER_POSIX = require( '@stdlib/constants/path/delimiter-posix' );

var PATH = '/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin';
var paths = PATH.split( PATH_DELIMITER_POSIX );
// returns ['/usr/bin','/bin','/usr/sbin','/sbin','/usr/local/bin']