npm

Check out our latest tech talk, "JavaScript Supply Chain Security" presented by VP of Security, Adam Baldwin.Watch it here »

file-share

1.2.0 • Public • Published

file-share

Share directory and files on http server on a go.

Install

$ npm install file-share -g

Share Files

After Installing the module, run following command in terminal to share files/directory :

$ file-share --port --path

port (optional)

  • Provide port number, you want to use. Default port is 9000.

path (optional)

  • Absolute path of directory, you want to share. Default path is current directory.

Example

$ file-share --port 8080 --path /home/user
$ file-share --port=8080 --path=/home/user
$ file-share --port 8080
$ file-share --path /home/user
$ file-share

Keywords

none

install

npm i file-share

Downloadsweekly downloads

15

version

1.2.0

license

ISC

last publish

collaborators

  • avatar
Report a vulnerability