UNPKG

lookpath

Version:

The minimum and most straightforward way to check if command exists and where the executable is.

51 lines (50 loc) 1.28 kB
{ "name": "lookpath", "version": "1.2.3", "description": "The minimum and most straightforward way to check if command exists and where the executable is.", "engines": { "npm": ">=6.13.4" }, "main": "./lib/index.js", "bin": { "lookpath": "bin/lookpath.js" }, "types": "./lib/index.d.ts", "scripts": { "build": "rm -rf ./lib && tsc", "lint": "eslint ./src/index.ts ./tests/lookpath.spec.ts", "test": "jest", "validate": "npm run build && node ./bin/lookpath.js npm", "release": "npm run build && npm run validate && npm publish" }, "author": "otiai10", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/otiai10/lookpath.git" }, "keywords": [ "exec.LookPath", "command", "exists" ], "bugs": { "url": "https://github.com/otiai10/lookpath/issues" }, "homepage": "https://github.com/otiai10/lookpath#readme", "devDependencies": { "@types/jest": "^27.0.2", "@types/node": "^22.0.2", "@typescript-eslint/eslint-plugin": "^4.31.2", "@typescript-eslint/parser": "^4.31.2", "eslint": "^7.32.0", "jest": "^27.2.2", "ts-jest": "^27.0.5", "typescript": "^4.4.3" }, "jest": { "transform": { "^.+\\.tsx?$": "ts-jest" } } }