{"_id":"file-exists-safe","_rev":"7-5d948fee634e5efac9c15a5e2bc52607","name":"file-exists-safe","dist-tags":{"latest":"3.0.0"},"versions":{"1.0.0":{"name":"file-exists-safe","version":"1.0.0","keywords":["file","exists","exist","check","if","safe","without","try","catch","fs-safe"],"author":{"url":"https://connorwhite.org","name":"Connor White","email":"connor.bcw@gmail.com"},"license":"MIT","_id":"file-exists-safe@1.0.0","maintainers":[{"name":"bconnorwhite","email":"connor.bcw@gmail.com"}],"homepage":"https://connorwhite.org/github/file-exists-safe","dist":{"shasum":"e235b5631a7f679576c4759652fa4bb3726f97bd","tarball":"https://registry.npmjs.org/file-exists-safe/-/file-exists-safe-1.0.0.tgz","fileCount":7,"integrity":"sha512-gQ4HH5C7QvklZxNzi8EG0EzMkwmWm2+Q7lhcsscIKYCZQ2cwp/y1HjAUgRbtW2jqtvdaD4SeRbt7HZNtbtpjew==","signatures":[{"sig":"MEUCIQCWHYciT7bL1yc94gjG6zOfhdGQLBahYkwaP4E59QXSpgIgXtolvWUP6XwpR9oAXBPMarbdQlkDViitW5gNq+ilb28=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5163,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfd9r3CRA9TVsSAnZWagAAKr0P/A48QLKVKtDMfPu9bxs3\n7R5mBXmHcpcAqKWmyg9HqRqjSaMC3srioCWpvMHhc5qA14Gt/fFul2UCoxNC\ncg1pXOPY5zroEotO0TS9IBjZjIIv52kLCioQfXOKVcZoQOdhewQfwAKiNdRA\n9KaRl2ckbisHiBBq5ryzRyRPexTAQlCyyB7yw5yW22/pxTMjPtglWCA/O+S+\nZAO7vI8KLWzXq0868cHRs2pNYWWFJbpKP+Mf0cJSu3kaYTqdS5r+exGkJaw9\nliU1rF7nObnWDkCwk23wF4jDvW1/YDxqZ+0OW8K6zQ40aq3SROO/tLvhi8GI\n2hi0nGTwGf8U7hId4Ze8U7FNIZbBRS8V/PXPLiEmjNr+fBuhgCr8Plr/vrpV\nNjqAplEt0uj3wBDI3liQUHufWs6I996/obusklN1SgOwloyWYCDsED4XHbWH\nLGP2yHexyjQFw1vx+0bEVtl+JGJ1GwzaQFOmu9Ck86azlPTb8sjrDzCF5dzr\nk9Hv/Ib/wHmUVrpJiUjezhLDCKuCpT3yKR1xg9iiirg2xV0MsMT+Jb3vPCPH\nB0MgxR9cDNSyS+TWqBjF411G1ZflZf8haitBFJDNNT8NJxzGJPayR1ywBNeh\n6Ba6q/PKaX3HDLGSugRmSjysZtUzDYO2OFbedK30v3dwdpcXYv2eXPNf0yGl\nujkS\r\n=biA2\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./build/index.js","husky":{"hooks":{"commit-msg":"bob lint commit"}},"scripts":{"lint":"bob lint","test":"bob test","build":"bob build","commit":"bob commit","release":"bob publish"},"_npmUser":{"name":"bconnorwhite","email":"connor.bcw@gmail.com"},"repository":{"url":"git+https://github.com/bconnorwhite/file-exists-safe.git","type":"git"},"description":"Check if a file exists without a try catch","directories":{},"eslintConfig":{"extends":"eslint-config-bob"},"_hasShrinkwrap":false,"devDependencies":{"mock-fs":"^4.13.0","@types/node":"^14.11.2","@types/mock-fs":"^4.10.0","@bconnorwhite/bob":"^2.9.2"},"npmpackagejsonlint":{"extends":"npm-package-json-lint-config-bob"},"_npmOperationalInternal":{"tmp":"tmp/file-exists-safe_1.0.0_1601690359172_0.42026099913557613","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"file-exists-safe","version":"1.0.1","keywords":["file","exists","exist","check","if","safe","without","try","catch","fs-safe"],"author":{"url":"https://connorwhite.org","name":"Connor White","email":"connor.bcw@gmail.com"},"license":"MIT","_id":"file-exists-safe@1.0.1","maintainers":[{"name":"bconnorwhite","email":"connor.bcw@gmail.com"}],"homepage":"https://connorwhite.org/github/file-exists-safe","dist":{"shasum":"5d394d49b4f87a5536cd13b1537545ba66236c38","tarball":"https://registry.npmjs.org/file-exists-safe/-/file-exists-safe-1.0.1.tgz","fileCount":7,"integrity":"sha512-BHjqhQv4f+8DocZKc+ooG4xhphHR8euBv/tquBnUnbI59UJJy9+4GiC5Rwa54N0s3keyUryOc62xGRpNlSl3wA==","signatures":[{"sig":"MEUCIQCLHlHDj7ubSaACCIXFdm29KZrAw2rPAWarc1h/BjO0sgIgXzczwJLl4Bsj+bJwBP+BA8Lsr9DG3i+vIvgkvzuYmOc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5359,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfegLhCRA9TVsSAnZWagAAd40QAIaMlw8SrejHfM7Mesyj\nZzVDkUWJFVb/rjIeAdon3Dl1lKq+nLvuz84Zqsyj3r5Lb7+nBFseAeQOkNL0\nTq5KsqDSkW1h7ZZStxotV0mR3npDY/klTxv2Ij2YjKqS2ns5YRKRks8NtCOe\nLxUGT3MCbXRjsq+YXd8LuLoRjHJie7aNklBeX00JQKXyVZOH7tnryNZrj+73\nH9Vlsm0Wb/fStw2Dl1QoqiYFePdbaS8jxB5cw7t57FBFwuq7DtNY5r7dhRwh\nujolIyL/iXbkR/w2JfO4Fmyv8KnL+WvqrJBoRtpIKFk9VJHFyBr5tQNERZzC\n3+ifxMZOWvQ5WS0lsw05OuohLhVwY2/DSpbpGFRstbfKgFqRstnnv0sqXkfA\nga2PRyFFpx1EOzMSzuB0HYBTG8iLamDz6feMRYx1HvbDVGYo7qPl6KSPZmc8\nNt2BtyZ4L0+PlJa71by8p+w7Cw2P6Mh/su4JxgJlh72NVpzoOpmjLd5up7zI\nSsr96WvoUWXCUrgXK/Ls0iJuUE/biLXZlSRQ6KTHNm+jJvPaCKLSF81mTfPE\ncR80qr5lVkxol2QNHNnQCM7oGmowKosH5THBjH2+k9NDx7SZHg/yuUa6dP9T\n9El6D9FpX91tuVUQB/+H34zLtZ5efCuJpl76A2uDgkVh9ai1LFbzK4g/BZwE\ncnq4\r\n=D0PQ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./build/index.js","husky":{"hooks":{"commit-msg":"bob lint commit"}},"scripts":{"lint":"bob lint","test":"bob test","build":"bob build","commit":"bob commit","release":"bob publish"},"_npmUser":{"name":"bconnorwhite","email":"connor.bcw@gmail.com"},"repository":{"url":"git+https://github.com/bconnorwhite/file-exists-safe.git","type":"git"},"description":"Check if a file exists without try catch","directories":{},"eslintConfig":{"extends":"eslint-config-bob"},"_hasShrinkwrap":false,"devDependencies":{"mock-fs":"^4.13.0","@types/node":"^14.11.2","@types/mock-fs":"^4.10.0","@bconnorwhite/bob":"^2.9.2"},"npmpackagejsonlint":{"extends":"npm-package-json-lint-config-bob"},"_npmOperationalInternal":{"tmp":"tmp/file-exists-safe_1.0.1_1601831648856_0.4789336898539587","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"file-exists-safe","version":"1.0.2","keywords":["file","exists","exist","check","if","safe","without","try","catch","fs-safe"],"author":{"url":"https://connorwhite.org","name":"Connor White","email":"connor.bcw@gmail.com"},"license":"MIT","_id":"file-exists-safe@1.0.2","maintainers":[{"name":"bconnorwhite","email":"connor.bcw@gmail.com"}],"homepage":"https://connorwhite.org/github/file-exists-safe","dist":{"shasum":"7333d50000a20b7b09c9f7ce8fd1703f129975bb","tarball":"https://registry.npmjs.org/file-exists-safe/-/file-exists-safe-1.0.2.tgz","fileCount":7,"integrity":"sha512-3aWrAwFD5D56q/ITYYnTqMg/HYD05pbZnMJ36YJOHyUcMWW4CR5/M2/9sGuNL4J+gUX7LDuCOMxKkt3Fw6JHIg==","signatures":[{"sig":"MEUCIDvZL0VVw79/EXuFvZrsEJbSicIiVWH59jisQfpqhG6PAiEA7DE+uIfQt6QmEmy9g+1VnJ7iC6hWBYr3dnRkNmIdr7s=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5559,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfegN1CRA9TVsSAnZWagAA+jcP/j25k7zZ+i3ePqB7kbpS\nkK7dKaO+xheRMkOaPhBhFczHiyJL5uNS6000SsTuyo22FkvFNUY0uuxvpyTj\nnwKwxxPT3ceLgETxDLmx6/1XDQtEZupqO+H/Trc28U0hmL67796yebpn3tS5\nJFZLBXj+AcqNgVdqmkl93D5qThBAYij/mGdDWeh86UJJWOs8+3SXQ5NJs1xQ\nMXd4vvePWcUn7WQGM5kExEYT9Gd7jIzwJ1bfvPur9ZFfRWEd+f8WhL9c7O0D\nO7JKHf0N1iq2rnunO2SXVqSOrRmu+naEQXzOa6+aALAnN1MVRwLBHCAizaq1\ngJzLrOuMZVGzf2z1gahsgO1FTy5SEmUuXSV37ALV9xMm3eZxa7kSg4ucYiw6\nirszMA5cjwVGEV3z8tc2gC7IDQKhg6xpuhQ2QgIa70cEbmZC+Fdz/Dpg1RFq\niUWYpHIXGhFnTLLHVUTPtmySGAsssrmoSXr3MN86SowLXSm0q2H1HA3xz2IZ\nJ8beq6+AtlrmK6wNHM9Q0GXuI9mwXpvJtTl6I7+BXaVXqUmyphjbCLKgn6A1\nahvEWqC3hV6mf8VLJ3Yi8+rUi0kI2pBPtHNQpbjG7XETyEBnrgrZZ8n3IDEc\njcIFNlqggDlODzbUB6aNUFkziVtyEIpTqEt4eiw/5StVGXF10nvIjBsX6QjD\nGW+y\r\n=tb18\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./build/index.js","husky":{"hooks":{"commit-msg":"bob lint commit"}},"scripts":{"lint":"bob lint","test":"bob test","build":"bob build","commit":"bob commit","release":"bob publish"},"_npmUser":{"name":"bconnorwhite","email":"connor.bcw@gmail.com"},"repository":{"url":"git+https://github.com/bconnorwhite/file-exists-safe.git","type":"git"},"description":"Check if a file exists without try catch","directories":{},"eslintConfig":{"extends":"eslint-config-bob"},"_hasShrinkwrap":false,"devDependencies":{"mock-fs":"^4.13.0","@types/node":"^14.11.2","@types/mock-fs":"^4.10.0","@bconnorwhite/bob":"^2.9.2"},"npmpackagejsonlint":{"extends":"npm-package-json-lint-config-bob"},"_npmOperationalInternal":{"tmp":"tmp/file-exists-safe_1.0.2_1601831797280_0.35161357028991946","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"file-exists-safe","version":"1.1.0","keywords":["file","exists","exist","check","if","safe","without","try","catch","fs-safe"],"author":{"url":"https://connorwhite.org","name":"Connor White","email":"connor.bcw@gmail.com"},"license":"MIT","_id":"file-exists-safe@1.1.0","maintainers":[{"name":"bconnorwhite","email":"connor.bcw@gmail.com"}],"homepage":"https://connorwhite.org/github/file-exists-safe","dist":{"shasum":"db73e875853d47a371f1f3cbec9e6b321e9096df","tarball":"https://registry.npmjs.org/file-exists-safe/-/file-exists-safe-1.1.0.tgz","fileCount":7,"integrity":"sha512-F0gcLPWcrLnYxlU46sf0UdgDsVaYCDyVVVsT1fpfUJ726R+GmS220+6LCPT1xbU8r6lCrwlG1gnKLF7slnObQw==","signatures":[{"sig":"MEQCIBnK9mWjxFspZ21GH8b1E0RzQ3G62xlPO7TyXtuZf3zTAiAS2XrmXEAcptsYVABSbq6nANG75B0ZW6apguyN5iSn7Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6408,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgdR57CRA9TVsSAnZWagAAe/MQAKG9C/Dr7FB0TP78UUYM\n7ksgwg1KFo+//nJiZ5E92RZZbn4P+5JEGx0sq6LnUyZvGH6pScazazNwD2WS\nlzhb/BfAnmXbUQEfPTop896bKNSJ4457j/GOowoiqqnG9Xc0xA03zzHHYSsk\nSlIWsyS+sfy6Fn6lVWqPV/TE3n3qDvla1zF+38E/0C1XFP7kWhrbYz5t0h54\nXF7cYFeLmnQKQW5SE2BvIKc4rHqmmGnU7jOj4II5Zg3AgpzY2twb/CmoO6JJ\nG31w9wsN5eV4VqJd2rLmkCgHsOgM5kkwoxjPj3X7ffs5FVEkvTBwWxzOHVOW\n1tMB3kaOepepOOrgYGjqTMXjSgnO96ql3Mm8XhKK+1l7T4tKfHmppwWE7vxE\nu7rQKhxgvBQ3J8A9SbwgFjPk84q5gMxQNIR5ukpP+NVSTubOpPB1KdB5DKUc\n7uOLKMZ/WHms1Tgjea5Yg1paD+nIFGX0onwoHDiK/TgBocW+K+QK+AMNDukN\nyMDntURWQGEhxatepi/FgCUjaB/bH/bc/D+UJRUzXC15SSsBgCzU3b6TiTMA\nYeM+Hv9keDXz/ikRqzWCwT1f7Wo+Fp5CE8KzECpsnUyNsSnFQc2Ge3TXKixN\n7bYFV41uugCfl2dOHIyR7Nzo8O++UG3CWce3zXAlFKPjbWX6D+MI9k04n8gf\nQcI7\r\n=DMBm\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./build/index.js","husky":{"hooks":{"commit-msg":"bob lint commit"}},"scripts":{"lint":"bob lint","test":"bob test","build":"bob build","commit":"bob commit","release":"bob publish"},"_npmUser":{"name":"bconnorwhite","email":"connor.bcw@gmail.com"},"repository":{"url":"git+https://github.com/bconnorwhite/file-exists-safe.git","type":"git"},"description":"Check if a file exists without try catch","directories":{},"eslintConfig":{"extends":"eslint-config-bob"},"_hasShrinkwrap":false,"devDependencies":{"mock-fs":"^4.13.0","@types/node":"^14.14.37","@types/mock-fs":"^4.13.0","@bconnorwhite/bob":"^2.9.4"},"npmpackagejsonlint":{"extends":"npm-package-json-lint-config-bob"},"_npmOperationalInternal":{"tmp":"tmp/file-exists-safe_1.1.0_1618288250834_0.19853357530363502","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"file-exists-safe","version":"2.0.0","keywords":["file","exists","exist","check","if","safe","without","try","catch","fs-safe"],"author":{"name":"Connor White"},"license":"MIT","_id":"file-exists-safe@2.0.0","maintainers":[{"name":"bconnorwhite","email":"connor.bcw@gmail.com"}],"contributors":[{"name":"Connor White"}],"homepage":"https://github.com/bconnorwhite/file-exists-safe#readme","bugs":{"url":"https://github.com/bconnorwhite/file-exists-safe/issues"},"dist":{"shasum":"896c02174284c063b9de583896ca84d586030078","tarball":"https://registry.npmjs.org/file-exists-safe/-/file-exists-safe-2.0.0.tgz","fileCount":8,"integrity":"sha512-BirUvVwI63luXYEODAFvFvNi0ZdoJvqDcIYTmNXurFi07sqG8Cpw58lPALWDHhvyAmmt7OJuhzQXJ7ZZHXdbFw==","signatures":[{"sig":"MEYCIQD1yf9gvleYnxEiguFbs94PyWQajC/Jh5Pv7vLTNyuGHgIhAIsJAidYeP/ToK2gNRXL2VcCJc1Ogb5XT2Kwt5zJqfuP","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6186,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjv04ZACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpy7A//S+kH9ER6ttm34Kqv+ZFfK1y20c2dZXVZZ9TxhHJ4665EcMg2\r\nNVjYhrHoIibJM+D6ciRrFV/O4fsI4UpeIWY8e99TvRumZe+79jHXMm0q50Tv\r\nXObGtTTJmUveg6p+jScaalCT8JNGdtwUPKq4JApRfPNv8BU6QFBDRV24U3hn\r\niwrx+rQfkKwjsOpuxLXzuqWUJRGC71ZcBapvADn+e5WLthJUkmYi0zHQuAjL\r\nbucqnO8sMs+yGEBuT+1lkZTCJn3+INhlq+rOQTY6Ouobjq/WDKdgxxw3Z1bM\r\nRTi+KiTPfT6txSwSqPCAvWdpqj4KrR0jXBpkZ+yJJKRcz1iy5Zkc6KsTLV+W\r\npztA30LNW8MuiGB1QpxFK+ANlW6bRcpRTw1QlEwG2KzadjB+Ig05GQOWoB1x\r\n5X5awJeAijj9WEcq9FG0eZMTK9OdxTRbfwdFuzF4Y2unH6Vhw0cRhNpyKeEH\r\nNVlOtMm65C6Y+jRxDtJ6OKkp8JTfWPO6JEGhWRlCTZ1GOc2NOnmx2ogGPCnI\r\nBrh1OKJoXR+IlFITIYZ0nLYqyn9pXcM8cM/zTPNzQk5Wqx9a2TXgQA/Fi+Sr\r\nioilak88a9HV1htXhr2k1kRisTkzygDTJaoKVFcqZ041GBh8NME9AQbJsAv1\r\nemA6V/IyY6CHIZApwPd9OVogZEhGGp5MxeM=\r\n=lBc2\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"@autosoft/jest-preset"},"main":".auto/build/index.js","type":"module","types":".auto/build/index.d.ts","engines":{"node":"^14.13.1 || >=16.0.0"},"exports":"./.auto/build/index.js","private":false,"scripts":{"dev":"auto dev","lint":"auto lint","test":"auto test","build":"auto build","prepack":"yarn build","release":"auto release","typecheck":"auto typecheck"},"_npmUser":{"name":"bconnorwhite","email":"connor.bcw@gmail.com"},"repository":{"url":"git+https://github.com/bconnorwhite/file-exists-safe.git","type":"git"},"description":"Check if a file exists without try catch","directories":{},"eslintConfig":{"extends":"@autosoft/eslint-config"},"_hasShrinkwrap":false,"devDependencies":{"mock-fs":"^4.13.0","autorepo":"^0.1.9","@types/node":"^14.14.37","@types/mock-fs":"^4.13.0"},"npmpackagejsonlint":{"extends":"npm-package-json-lint-config-auto"},"_npmOperationalInternal":{"tmp":"tmp/file-exists-safe_2.0.0_1673481753600_0.07098766570262605","host":"s3://npm-registry-packages"}},"3.0.0":{"name":"file-exists-safe","version":"3.0.0","description":"Check if a file exists without try catch","license":"MIT","private":false,"author":{"name":"Connor White","email":"oss@bconnorwhite.com","url":"https://bconnorwhite.com"},"homepage":"https://github.bconnorwhite.com/file-exists-safe#readme","repository":{"type":"git","url":"git+https://github.com/bconnorwhite/file-exists-safe.git"},"bugs":{"url":"https://github.com/bconnorwhite/file-exists-safe/issues"},"keywords":["file","exists","exist","check","if","safe","without","try","catch","fs-safe"],"type":"module","main":"./build/index.js","exports":{".":"./build/index.js"},"types":"./build/index.d.ts","engines":{"bun":">=1.3.0","node":">=20.0.0"},"scripts":{"build":"tsc --project ./tsconfig.json","coverage":"c8 --reporter=text --reporter=lcovonly tsx --test ./test/*.test.ts","lint":"npm run lint:package && npm run lint:source","lint:package":"npmPkgJsonLint .","lint:source":"ESLINT_USE_FLAT_CONFIG=false eslint src test --ext .ts","prepack":"npm run build","release":"npm publish","test":"npm run test:node","test:node":"tsx --test ./test/*.test.ts","typecheck":"npm run build && tsc --project ./test/tsconfig.json"},"devDependencies":{"@bconnorwhite/eslint-config":"^1.1.0","@bconnorwhite/tsconfig":"^1.0.0","@types/mock-fs":"^4.13.0","@types/node":"^24.3.0","@typescript-eslint/eslint-plugin":"^8.56.1","@typescript-eslint/parser":"^8.56.1","c8":"^10.1.3","eslint":"^9.39.4","eslint-plugin-import":"^2.32.0","eslint-plugin-json":"^4.0.1","mock-fs":"^4.13.0","npm-package-json-lint":"^9.1.0","npm-package-json-lint-config-bconnorwhite":"^1.0.0","tsx":"^4.21.0","typescript":"^5.9.3"},"eslintConfig":{"extends":"@bconnorwhite/eslint-config"},"npmpackagejsonlint":{"extends":"npm-package-json-lint-config-bconnorwhite/oss"},"gitHead":"313302d405d5e622de990bfe7e2d37b7d31edab2","_id":"file-exists-safe@3.0.0","_nodeVersion":"24.14.0","_npmVersion":"11.9.0","dist":{"integrity":"sha512-f5WNFi2v12x6SVYdC/3vFz9fjZ8Em8UN/E/ohFTaYPfFQZ+dOM8U/GVqr4+1qKBth6p4ttrqQ7Gw1EGP+OEnng==","shasum":"892dca91618ce0688824ab0e83e321476ef22d3f","tarball":"https://registry.npmjs.org/file-exists-safe/-/file-exists-safe-3.0.0.tgz","fileCount":6,"unpackedSize":7310,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/file-exists-safe@3.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIBCT/wVi05PyMOIOL4DxsXICaau4NL8tfX8TiJZ8EFPVAiEAhMh5eylvP3C1+K9FbJYt4BeatuG3BlSldaCqHJ0to7k="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:f9e43a8c-0c04-44d4-9fcd-7e92ff8cc910"}},"directories":{},"maintainers":[{"name":"bconnorwhite","email":"connor.bcw@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/file-exists-safe_3.0.0_1773504921734_0.9152955491426242"},"_hasShrinkwrap":false}},"time":{"created":"2020-10-03T01:59:19.172Z","modified":"2026-03-14T16:15:22.166Z","1.0.0":"2020-10-03T01:59:19.289Z","1.0.1":"2020-10-04T17:14:09.014Z","1.0.2":"2020-10-04T17:16:37.407Z","1.1.0":"2021-04-13T04:30:50.999Z","2.0.0":"2023-01-12T00:02:33.764Z","3.0.0":"2026-03-14T16:15:21.882Z"},"bugs":{"url":"https://github.com/bconnorwhite/file-exists-safe/issues"},"author":{"name":"Connor White","email":"oss@bconnorwhite.com","url":"https://bconnorwhite.com"},"license":"MIT","homepage":"https://github.bconnorwhite.com/file-exists-safe#readme","keywords":["file","exists","exist","check","if","safe","without","try","catch","fs-safe"],"repository":{"type":"git","url":"git+https://github.com/bconnorwhite/file-exists-safe.git"},"description":"Check if a file exists without try catch","maintainers":[{"name":"bconnorwhite","email":"connor.bcw@gmail.com"}],"readme":"<!--BEGIN HEADER-->\n<div id=\"top\" align=\"center\">\n  <h1>file-exists-safe</h1>\n  <a href=\"https://npmjs.com/package/file-exists-safe\">\n    <img alt=\"npm\" src=\"https://img.shields.io/npm/v/file-exists-safe.svg\">\n  </a>\n  <a href=\"https://github.com/bconnorwhite/file-exists-safe\">\n    <img alt=\"typescript\" src=\"https://img.shields.io/github/languages/top/bconnorwhite/file-exists-safe.svg\">\n  </a>\n  <a href=\"https://coveralls.io/github/bconnorwhite/file-exists-safe?branch=main\">\n    <img alt=\"Coverage Status\" src=\"https://img.shields.io/coveralls/github/bconnorwhite/file-exists-safe.svg?branch=main\">\n  </a>\n</div>\n\n<br />\n\n<blockquote align=\"center\">Check if a file exists without try catch.</blockquote>\n\n---\n<!--END HEADER-->\n\n- Returns `true` if the path exists and is a file.\n- Returns `false` if the path is not a file, or does not exist.\n- Returns `undefined` on other errors, such as permission denied, rather than throwing.\n\n<!-- BEGIN INSTALLATION -->\n## Installation\n\n<details open>\n  <summary>\n    <a href=\"https://www.npmjs.com/package/file-exists-safe\">\n      <img src=\"https://img.shields.io/badge/npm-CB3837?logo=npm&logoColor=white\" alt=\"NPM\" />\n    </a>\n  </summary>\n\n```sh\nnpm install file-exists-safe\n```\n\n</details>\n\n<details>\n  <summary>\n    <a href=\"https://yarnpkg.com/package/file-exists-safe\">\n      <img src=\"https://img.shields.io/badge/yarn-2C8EBB?logo=yarn&logoColor=white\" alt=\"Yarn\" />\n    </a>\n  </summary>\n\n```sh\nyarn add file-exists-safe\n```\n\n</details>\n\n<details>\n  <summary>\n    <img src=\"https://img.shields.io/badge/pnpm-F69220?logo=pnpm&logoColor=white\" alt=\"PNPM\" />\n  </summary>\n\n```sh\npnpm add file-exists-safe\n```\n\n</details>\n\n<details>\n  <summary>\n    <img src=\"https://img.shields.io/badge/bun-EE81C3?logo=bun&logoColor=white\" alt=\"Bun\" />\n  </summary>\n\n```sh\nbun add file-exists-safe\n```\n\n</details>\n<!-- END INSTALLATION -->\n\n## Usage\n\n```ts\nimport { fileExists, fileExistsSync, Options } from \"file-exists-safe\";\n\nfunction fileExists(path: string, options?: Options): Promise<boolean | undefined>;\n\nfunction fileExistsSync(path: string, options?: Options): boolean | undefined;\n\ntype Options = {\n  /**\n   * Return true if path is directory. Default: `false`\n   */\n  includeDirectories?: boolean;\n};\n```\n\n<!--BEGIN FOOTER-->\n<h2 id=\"license\">License <a href=\"https://opensource.org/licenses/MIT\"><img align=\"right\" alt=\"license\" src=\"https://img.shields.io/npm/l/file-exists-safe.svg\"></a></h2>\n\n[MIT](https://opensource.org/licenses/MIT) - _MIT License_\n<!--END FOOTER-->\n\n## Related Packages\n\n- [fs-safe](https://www.npmjs.com/package/fs-safe): A simple fs wrapper that doesn't throw\n- [dir-exists-safe](https://www.npmjs.com/package/dir-exists-safe): Check if a directory exists without a try catch\n","readmeFilename":"README.md"}