index.js 542 B

1234567891011121314151617181920212223
  1. 'use strict'
  2. const { createFile, createFileSync } = require('./file')
  3. const { createLink, createLinkSync } = require('./link')
  4. const { createSymlink, createSymlinkSync } = require('./symlink')
  5. module.exports = {
  6. // file
  7. createFile,
  8. createFileSync,
  9. ensureFile: createFile,
  10. ensureFileSync: createFileSync,
  11. // link
  12. createLink,
  13. createLinkSync,
  14. ensureLink: createLink,
  15. ensureLinkSync: createLinkSync,
  16. // symlink
  17. createSymlink,
  18. createSymlinkSync,
  19. ensureSymlink: createSymlink,
  20. ensureSymlinkSync: createSymlinkSync
  21. }