确定( 兼容)存储应用程序文件(缓存,配置,数据等)的路径 安装(CJS / ESM / TypeScript) npm install xdg-app-paths # or... `npm install "git:github.com/rivy/js.xdg-app-paths"` # or... `npm install "git:github.com/rivy/js.xdg-app-paths#v8.0.0"` # or... `npm install "https://cdn.jsdelivr.net/gh/rivy/js.xdg-app-paths/dist/xdg-app-pa