fs-constants
Small module that allows you to get the fs constants across Node and the browser.
npm install fs-constants
Previously you would use require('constants') for this in node but that has been
deprecated and changed to require('fs').constants which does not browserify.
This module uses require('constants') in the browser and require('fs').constants in node to work around this
Usage
var constants = require('fs-constants')
console.log('constants:', constants)
License
MIT
Xet Storage Details
- Size:
- 528 Bytes
- Xet hash:
- 3f3000412bd67384c550e2e3e56ceec044860a8dda38415149def0ce49e6b13a
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.