{"_id":"fs-constants","_rev":"52217","name":"fs-constants","description":"Require constants across node and the browser","dist-tags":{"latest":"1.0.0"},"maintainers":[{"name":"mafintosh","email":""}],"time":{"modified":"2021-06-03T10:15:56.000Z","created":"2018-04-26T14:42:32.817Z","1.0.0":"2018-04-26T14:42:32.817Z"},"users":{},"author":{"name":"Mathias Buus","url":"@mafintosh"},"repository":{"type":"git","url":"git+https://github.com/mafintosh/fs-constants.git"},"versions":{"1.0.0":{"name":"fs-constants","version":"1.0.0","description":"Require constants across node and the browser","main":"index.js","browser":"browser.js","dependencies":{},"devDependencies":{},"repository":{"type":"git","url":"git+https://github.com/mafintosh/fs-constants.git"},"author":{"name":"Mathias Buus","url":"@mafintosh"},"license":"MIT","bugs":{"url":"https://github.com/mafintosh/fs-constants/issues"},"homepage":"https://github.com/mafintosh/fs-constants","gitHead":"3636fd76cf948ebfc143c1913af6d3c4450b1c46","_id":"fs-constants@1.0.0","_npmVersion":"5.6.0","_nodeVersion":"9.11.1","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"dist":{"shasum":"6be0de9be998ce16af8afc24497b9ee9b7ccd9ad","size":1381,"noattachment":false,"key":"/fs-constants/-/fs-constants-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/fs-constants/download/fs-constants-1.0.0.tgz"},"maintainers":[{"name":"mafintosh","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fs-constants_1.0.0_1524753752667_0.578647269374104"},"_hasShrinkwrap":false,"publish_time":1524753752817,"_cnpm_publish_time":1524753752817}},"readme":"# fs-constants\n\nSmall module that allows you to get the fs constants across\nNode and the browser. \n\n```\nnpm install fs-constants\n```\n\nPreviously you would use `require('constants')` for this in node but that has been\ndeprecated and changed to `require('fs').constants` which does not browserify.\n\nThis module uses `require('constants')` in the browser and `require('fs').constants` in node to work around this\n\n\n## Usage\n\n``` js\nvar constants = require('fs-constants')\n\nconsole.log('constants:', constants)\n```\n\n## License\n\nMIT\n","_attachments":{},"homepage":"https://github.com/mafintosh/fs-constants","bugs":{"url":"https://github.com/mafintosh/fs-constants/issues"},"license":"MIT"}