{"_id":"exists-stat","_rev":"3229300","name":"exists-stat","description":"Synchronously check if a path exists and returns its stats object if it does","dist-tags":{"latest":"1.0.0"},"maintainers":[{"name":"trentmwillis","email":""}],"time":{"modified":"2024-03-21T07:39:46.000Z","created":"2017-03-18T20:57:45.365Z","1.0.0":"2017-03-18T20:57:45.365Z"},"users":{},"author":{"name":"Trent Willis","email":"trentmwillis@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/trentmwillis/exists-stat.git"},"versions":{"1.0.0":{"name":"exists-stat","version":"1.0.0","description":"Synchronously check if a path exists and returns its stats object if it does","main":"index.js","scripts":{"test":"node test.js"},"author":{"name":"Trent Willis","email":"trentmwillis@gmail.com"},"license":"MIT","devDependencies":{"qunitjs":"^2.2.0"},"repository":{"type":"git","url":"git+https://github.com/trentmwillis/exists-stat.git"},"gitHead":"8a27c942312812198f1503e328d978d8742a0b9d","bugs":{"url":"https://github.com/trentmwillis/exists-stat/issues"},"homepage":"https://github.com/trentmwillis/exists-stat#readme","_id":"exists-stat@1.0.0","_shasum":"0660e3525a2e89d9e446129440c272edfa24b529","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"trentmwillis","email":"trentmwillis@gmail.com"},"dist":{"shasum":"0660e3525a2e89d9e446129440c272edfa24b529","size":1148,"noattachment":false,"key":"/exists-stat/-/exists-stat-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/exists-stat/download/exists-stat-1.0.0.tgz"},"maintainers":[{"name":"trentmwillis","email":""}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/exists-stat-1.0.0.tgz_1489870663528_0.0063629846554249525"},"directories":{},"publish_time":1489870665365,"_hasShrinkwrap":false,"_cnpm_publish_time":1489870665365,"_cnpmcore_publish_time":"2021-12-17T00:14:40.055Z"}},"readme":"# exists-stat\n\nSynchronously check if a path exists and returns its stats object if it does. Saves you from needing `try-catch` statements when trying to get stats information.\n\n```js\nexistsStat('exists-dir').isDirectory(); // true\nexistsStat('exists.js').isFile();       //true\n\nexistsStat('does-not-exist-dir'); // null\nexistsStat('does-not-exist.js');  // null\n```\n","_attachments":{},"homepage":"https://github.com/trentmwillis/exists-stat#readme","bugs":{"url":"https://github.com/trentmwillis/exists-stat/issues"},"license":"MIT"}