@jswork/node-down
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

download

Download file use fetch.

version license size download

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.

Dependencies (0)

    Dev Dependencies (8)

    Package Sidebar

    Install

    npm i @jswork/node-down

    Weekly Downloads

    5

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    17.6 kB

    Total Files

    10

    Last publish

    Collaborators

    • afeiship
    • yujiao.luo