index.js 523 B

12345678910111213141516171819202122
  1. 'use strict'
  2. const assign = require('./util/assign')
  3. const fs = {}
  4. // Export graceful-fs:
  5. assign(fs, require('./fs'))
  6. // Export extra methods:
  7. assign(fs, require('./copy'))
  8. assign(fs, require('./copy-sync'))
  9. assign(fs, require('./mkdirs'))
  10. assign(fs, require('./remove'))
  11. assign(fs, require('./json'))
  12. assign(fs, require('./move'))
  13. assign(fs, require('./move-sync'))
  14. assign(fs, require('./empty'))
  15. assign(fs, require('./ensure'))
  16. assign(fs, require('./output'))
  17. assign(fs, require('./path-exists'))
  18. module.exports = fs