{"_id":"fs-access","_rev":"286071","name":"fs-access","description":"Node.js 0.12 fs.access() & fs.accessSync() ponyfill","dist-tags":{"latest":"2.0.0"},"maintainers":[{"name":"sindresorhus","email":""}],"time":{"modified":"2021-06-03T18:35:27.000Z","created":"2015-05-10T23:00:19.229Z","2.0.0":"2018-11-08T10:49:52.134Z","1.0.1":"2016-09-30T07:55:46.261Z","1.0.0":"2015-05-10T23:00:19.229Z"},"users":{"andrew.medvedev":true},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"repository":{"type":"git","url":"git+https://github.com/sindresorhus/fs-access.git"},"versions":{"2.0.0":{"name":"fs-access","version":"2.0.0","description":"Node.js 0.12 fs.access() & fs.accessSync() ponyfill","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/fs-access.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test.js"},"keywords":["built-in","core","ponyfill","polyfill","shim","fs","access","stat","mode","permission","user","process","check"],"dependencies":{"null-check":"^1.0.0"},"devDependencies":{"os-tmpdir":"^1.0.0"},"gitHead":"2c7e3602ee6276b3c809b4e224dbcd55a22e05c4","bugs":{"url":"https://github.com/sindresorhus/fs-access/issues"},"homepage":"https://github.com/sindresorhus/fs-access#readme","_id":"fs-access@2.0.0","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"d120138df7286f067d862151505d96a75ae5d513","size":1860,"noattachment":false,"key":"/fs-access/-/fs-access-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/fs-access/download/fs-access-2.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fs-access_2.0.0_1541674191983_0.9710210225413785"},"_hasShrinkwrap":false,"deprecated":"This package is no longer relevant as Node.js 0.12 is unmaintained.","publish_time":1541674192134,"_cnpm_publish_time":1541674192134},"1.0.1":{"name":"fs-access","version":"1.0.1","description":"Node.js 0.12 fs.access() & fs.accessSync() ponyfill","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/fs-access.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test.js"},"files":["index.js"],"keywords":["built-in","core","ponyfill","polyfill","shim","fs","access","stat","mode","permission","user","process","check"],"dependencies":{"null-check":"^1.0.0"},"devDependencies":{"os-tmpdir":"^1.0.0"},"gitHead":"5b9c45c28f0199be3531c1991f6fbd858067c918","bugs":{"url":"https://github.com/sindresorhus/fs-access/issues"},"homepage":"https://github.com/sindresorhus/fs-access#readme","_id":"fs-access@1.0.1","_shasum":"d6a87f262271cefebec30c553407fb995da8777a","_from":".","_npmVersion":"2.15.9","_nodeVersion":"4.5.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"d6a87f262271cefebec30c553407fb995da8777a","size":1888,"noattachment":false,"key":"/fs-access/-/fs-access-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/fs-access/download/fs-access-1.0.1.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/fs-access-1.0.1.tgz_1475222143995_0.7106209583580494"},"directories":{},"publish_time":1475222146261,"_cnpm_publish_time":1475222146261,"_hasShrinkwrap":false},"1.0.0":{"name":"fs-access","version":"1.0.0","description":"Node.js 0.12 fs.access() & fs.accessSync() ponyfill","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/fs-access"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test.js"},"files":["index.js"],"keywords":["built-in","core","ponyfill","polyfill","shim","fs","access","stat","mode","permission","user","process","check"],"dependencies":{"null-check":"^1.0.0"},"devDependencies":{"os-tmpdir":"^1.0.0"},"gitHead":"66bbcd8a8b26a4f0ccdee1cd5ea8f6256596d155","bugs":{"url":"https://github.com/sindresorhus/fs-access/issues"},"homepage":"https://github.com/sindresorhus/fs-access","_id":"fs-access@1.0.0","_shasum":"e96872b1f415ae302bdda4ef05309eb4bde1934c","_from":".","_npmVersion":"2.7.4","_nodeVersion":"0.12.2","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"e96872b1f415ae302bdda4ef05309eb4bde1934c","size":1926,"noattachment":false,"key":"/fs-access/-/fs-access-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/fs-access/download/fs-access-1.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"publish_time":1431298819229,"_cnpm_publish_time":1431298819229,"_hasShrinkwrap":false}},"readme":"# Deprecated\n\nThis package is no longer relevant as Node.js 0.12 is unmaintained.\n\n---\n\n# fs-access [![Build Status](https://travis-ci.org/sindresorhus/fs-access.svg?branch=master)](https://travis-ci.org/sindresorhus/fs-access)\n\n> Node.js 0.12 [`fs.access()`](https://nodejs.org/api/fs.html#fs_fs_access_path_mode_callback) & [`fs.accessSync()`](https://nodejs.org/api/fs.html#fs_fs_accesssync_path_mode) [ponyfill](https://ponyfill.com)\n\n\n## Install\n\n```\n$ npm install --save fs-access\n```\n\n\n## Usage\n\n```js\nvar fsAccess = require('fs-access');\n\nfsAccess('unicorn.txt', function (err) {\n\tif (err) {\n\t\tconsole.error('no access');\n\t\treturn;\n\t}\n\n\tconsole.log('access');\n});\n```\n\n```js\nvar fsAccess = require('fs-access');\n\ntry {\n\tfsAccess.sync('unicorn.txt');\n\tconsole.log('access');\n} catch (err) {\n\tconsole.error('no access');\n}\n```\n\n\n## API\n\nSee the [`fs.access()` & `fs.accessSync()` docs](https://nodejs.org/api/fs.html#fs_fs_access_path_mode_callback).\n\nMode flags are on the `fsAccess` instance instead of `fs`. Only the `F_OK` mode is supported.\n\n\n## License\n\nMIT © [Sindre Sorhus](http://sindresorhus.com)\n","_attachments":{},"homepage":"https://github.com/sindresorhus/fs-access#readme","bugs":{"url":"https://github.com/sindresorhus/fs-access/issues"},"license":"MIT"}