glob-copy Copy based on globby. installation npm install -S @feizheng/glob-copy usage import cp from '@feizheng/glob-copy'; // code goes here cp.sync([ "*.js", 'dist','!.md' ], 'dist'); resources https://github.com/akre54/glob-copy license Code released under the MIT license.