e156f09f1dacbd471d639145ec8885344308d60cdd15331a78ec5692e11fed697cd9120b8bc5dd94c86c769b66fec8d1955126b603fb8e1e44fbea0d8493cf 377 B

12345678
  1. const fs = require('fs')
  2. const promisify = require('@gar/promisify')
  3. // this module returns the core fs module wrapped in a proxy that promisifies
  4. // method calls within the getter. we keep it in a separate module so that the
  5. // overridden methods have a consistent way to get to promisified fs methods
  6. // without creating a circular dependency
  7. module.exports = promisify(fs)