@jswork/node-down
v1.0.2
Published
Download file use fetch.
Downloads
16
Maintainers
Readme
download
Download file use fetch.
installation
npm install @jswork/node-down
usage
import download from '@jswork/node-down';
await download({
filename: 'test.jpg',
cwd: '__tests__',
url: 'https://tva1.sinaimg.cn/large/007S8ZIlgy1gexw87htqhj305k05k74o.jpg',
});
license
Code released under the MIT license.