tunnckoCore/stream-copy-dir

View on GitHub
utils.js

Summary

Maintainability
A
0 mins
Test Coverage
'use strict'

var utils = require('lazy-cache')(require)
var fn = require
require = utils // eslint-disable-line no-undef, no-native-reassign, no-global-assign

/**
 * Lazily required module dependencies
 */

require('create-readdir-stream', 'dir')
require('through2')
require('write-file')
require = fn // eslint-disable-line no-undef, no-native-reassign, no-global-assign

/**
 * Expose `utils` modules
 */

module.exports = utils