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 paths
  • path.resolve() to resolve absolute paths
  • path.extname() to get file extension
← PrevNext →