source: node_modules/fs-constants/README.md@ 62b2964

finki-main main
Last change on this file since 62b2964 was 81bc7da, checked in by Klimentina Efremova <klimentina08642@…>, 3 months ago

Initial commit

  • Property mode set to 100644
File size: 528 bytes
Line 
1# fs-constants
2
3Small module that allows you to get the fs constants across
4Node and the browser.
5
6```
7npm install fs-constants
8```
9
10Previously you would use `require('constants')` for this in node but that has been
11deprecated and changed to `require('fs').constants` which does not browserify.
12
13This module uses `require('constants')` in the browser and `require('fs').constants` in node to work around this
14
15
16## Usage
17
18``` js
19var constants = require('fs-constants')
20
21console.log('constants:', constants)
22```
23
24## License
25
26MIT
Note: See TracBrowser for help on using the repository browser.