New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

serve-clone

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

serve-clone

Cloning directories through vercel serve

latest
Source
npmnpm
Version
1.0.0
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

serve-clone

Clone files hosted on a vercel serve server to your local machine

alt text

Usage

Install as a global module:

npm i -g serve-clone

Point towards your serve server and enter your local path for the cloning:

serve-clone --url http://localhost:5000 --folder files/just-here

This will download all the files to your machine and give you a live progress update

Arguments:

  --help                Show the help message
  -u, --url             The url of the serve server
  -f, --folder          The folder where the serve directory contents will be cloned

Notes

In order for single file directories and automatic .html pages to be listed correctly, Your serve config must be set to {"cleanUrls": false}. At the current time, this options has to be set using a config files as CLI argument is not available (serve@11).

In order for symlinked files to be downloaded correctly, Your serve config must be set to {"symlinks": true}. At the current time, this has to be through the CLI arg --symlinks as there is a bug through config file usage (serve@11).

Keywords

serve

FAQs

Package last updated on 16 Jun 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts