extname

external fun extname(path: String): Promise<String>(source)

Returns the extension of the path.

Since

1.0.0