UNPKG

home-or-tmp

Version:

Get the user home directory with fallback to the system temp directory

42 lines (41 loc) 736 B
{ "name": "home-or-tmp", "version": "4.0.0", "description": "Get the user home directory with fallback to the system temp directory", "license": "MIT", "repository": "sindresorhus/home-or-tmp", "funding": "https://github.com/sponsors/sindresorhus", "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", "url": "https://sindresorhus.com" }, "type": "module", "exports": "./index.js", "engines": { "node": ">=12" }, "scripts": { "test": "xo && ava" }, "files": [ "index.js" ], "keywords": [ "user", "home", "homedir", "directory", "folder", "path", "tmp", "temp", "temporary", "fallback", "graceful" ], "devDependencies": { "ava": "^3.15.0", "xo": "^0.38.2" } }