Sha256: 323e4a503c03172dc06c37aedf66884ba49bbdb5fd31626f0c39407b3b6876c8

Contents?: true

Size: 377 Bytes

Versions: 7

Compression:

Stored size: 377 Bytes

Contents

const fs = require('fs')
const promisify = require('@gar/promisify')

// this module returns the core fs module wrapped in a proxy that promisifies
// method calls within the getter. we keep it in a separate module so that the
// overridden methods have a consistent way to get to promisified fs methods
// without creating a circular dependency
module.exports = promisify(fs)

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
disco_app-0.16.1 test/dummy/node_modules/@npmcli/fs/lib/fs.js
disco_app-0.15.2 test/dummy/node_modules/@npmcli/fs/lib/fs.js
disco_app-0.18.4 test/dummy/node_modules/@npmcli/fs/lib/fs.js
disco_app-0.18.1 test/dummy/node_modules/@npmcli/fs/lib/fs.js
disco_app-0.12.7.pre.puma.pre.3 test/dummy/node_modules/@npmcli/fs/lib/fs.js
disco_app-0.14.0 test/dummy/node_modules/@npmcli/fs/lib/fs.js
disco_app-0.13.6.pre.puma.pre.3 test/dummy/node_modules/@npmcli/fs/lib/fs.js