source: node_modules/@npmcli/fs/lib/fs.js@ 81bc7da

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

Initial commit

  • Property mode set to 100644
File size: 377 bytes
Line 
1const fs = require('fs')
2const promisify = require('@gar/promisify')
3
4// this module returns the core fs module wrapped in a proxy that promisifies
5// method calls within the getter. we keep it in a separate module so that the
6// overridden methods have a consistent way to get to promisified fs methods
7// without creating a circular dependency
8module.exports = promisify(fs)
Note: See TracBrowser for help on using the repository browser.