THE WORLD'S LARGEST WEB DEVELOPER SITE

Node.js path.delimeter Property

❮ Path Module


Example

Return the delimiter used on the server:

var path = require('path');

console.log(path.delimiter);
Run example »

Definition and Usage

The path.delimiter property returns the delimiter specified for the server.

; (semicolon) for Windows
: (colon) for POSIX


Syntax

path.property;

Technical Details

Return Value: The delimiter, as a String
Node.js Version: 0.9.3

❮ Path Module