commondir
compute the closest common parent for file paths
env-paths
Get paths for storing things like data, config, cache, etc
generic-function
A generic function implementation for node.js with CLOS-like (Common Lisp Object System) syntax.
common-path-prefix
Computes the longest prefix string that is common to each path, excluding the base component
xdg-app-paths
Determine (XDG-compatible) paths for storing application files (cache, config, data, etc)