dclone
TypeScript icon, indicating that this package has built-in type declarations

1.4.2 • Public • Published

English | 简体中文

Download specified directory in github/gitlab

Build Status Coverage Status download standardjs License License Node

dclone is the simplest command for downloading specified directory or whole repo in github/gitlab (used depend on git), dclone can completely replace git clone and cut down download time

Features

Let me introduce some awesome features in dclone

  • quickly: you can only download single folder and cut down download time
  • overall: dclone can download both github and gitlab
  • simple: you only need copy http link in location

How to use

it's very simple, you only need find github url of the directory,like https://github.com/ykfe/egg-react-ssr/tree/dev/example/ssr-with-loadable

$ npm i -g dclone
$ dclone https://github.com/ykfe/egg-react-ssr/tree/dev/example/ssr-with-loadable

You can also import dclone in files direct

import { dclone } from 'dclone'

await dclone({
  dir: 'https://github.com/ykfe/egg-react-ssr/tree/dev/example/ssr-with-loadable'
})

/dclone/

    Package Sidebar

    Install

    npm i dclone

    Weekly Downloads

    43

    Version

    1.4.2

    License

    MIT

    Unpacked Size

    17.5 kB

    Total Files

    21

    Last publish

    Collaborators

    • zhangyuang