6de2455917
- Added GLOBAL_MARKETS_TITLE to all translation files - Updated footer with 12 markets (4 active + 8 upcoming) - Translated market section to: zh-cn, zh-tw, ja, ko, th, vi, id, ms, hi - Built and deployed to production - CloudFront invalidation: I3RTMXVFDJXWLG3SYX208OP1CC
27 lines
528 B
Markdown
27 lines
528 B
Markdown
# 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
|
|
|
|
``` js
|
|
var constants = require('fs-constants')
|
|
|
|
console.log('constants:', constants)
|
|
```
|
|
|
|
## License
|
|
|
|
MIT
|