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

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

xdg-portable

Determine XDG Base Directory paths (OS/platform portable)
v10.6.0 URL: https://unpkg.com/xdg-portable@10.6.0/dist/cjs/mod.cjs.js
OpenBrowse Files
basecachecommonconfigcross-platformdatadirectoryenvironmentlinuxmacmacosnode4node6node-v4node-v6osxpathpathsportableruntimestateunixwindowsxdg

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

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