Global

Global

Methods

dirname (path)string

Returns the directory part of the given path.

Name Type Description
path string

The path.

Returns:
Type Description
string The directory part of the path.

dirname (path)string

Returns the directory part of the given path.

Name Type Description
path string

The path.

Returns:
Type Description
string The directory part of the path.

filename (path)string

Returns the file part of the given path.

Name Type Description
path string

The path.

Returns:
Type Description
string The file part of the path.

filename (path)string

Returns the file part of the given path.

Name Type Description
path string

The path.

Returns:
Type Description
string The file part of the path.

uptime ()number

Returns the time elapsed in ms since the application was started.

Returns:
Type Description
number The time elapsed.