commondir

compute the closest common parent for file paths
v1.0.1 URL: https://unpkg.com/commondir@1.0.1/index.js
OpenBrowse Files
commonpathdirectoryfileparentroot

env-paths

Get paths for storing things like data, config, cache, etc
v3.0.0 URL: https://unpkg.com/env-paths@3.0.0/index.js
OpenBrowse Files
commonuserpathsenvenvironmentdirectorydirappdirpathdataconfigcachelogstemplinuxunix

common-path-prefix

Computes the longest prefix string that is common to each path, excluding the base component
v3.0.0 URL: https://unpkg.com/common-path-prefix@3.0.0/index.js
OpenBrowse Files
commonpathdirectorydirfileroottypescriptcommon prefixcommon pathcommon path startcommon root

xdg-app-paths

Determine (XDG-compatible) paths for storing application files (cache, config, data, etc)
v8.3.0 URL: https://unpkg.com/xdg-app-paths@8.3.0/dist/cjs/mod.cjs.js
OpenBrowse Files
appdirapplicationcachecommonconfigcross-platformdatadirectoryenvironmentlinuxmacmacosnode4node6node-v4node-v6osxpathpathsportableruntimestateunixuserwindowsxdg

os-paths

Determine common OS/platform paths (home, temp, ...)
v7.4.0 URL: https://unpkg.com/os-paths@7.4.0/dist/cjs/mod.cjs.js
OpenBrowse Files
commoncross-platformdirectoryenvironmentlinuxmacmacosnode4node6node-v4node-v6osxpathpathsportableunixwindows