Path Module
The path
module provides utilities for working with file and directory paths. It's especially useful for building cross-platform apps where path formats may differ.
path.join()
to safely concatenate pathspath.resolve()
to resolve absolute pathspath.extname()
to get file extension