1.3.6 • Published 2 years ago

directory-serve v1.3.6

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

Directory Serve

Directory serve is a CLI library for sending and receiving a file from your android and IOS devices.

Installation

This is a Node.js module available through the npm registry. Installation is done using the npm install command:

$ npm install -g directory-serve

Help

npx directory-serve --help

Usage

After installing globally

 directory-serve /path-of-directory

or

Directly use the command

 npx directory-serve /path-of-directory

or

npx directory-serve /path-to-file

Arguments

optionsdefaultdescriptionExample
utrueRestrict upload file optionnpx directory-serve /path-of-directory -u=false
p8989Change the portnpx directory-serve /path-of-directory -p=3000
helpHelpnpx directory-serve --help
usernameundefinedClient auth usernamenpx directory-serve /path-of-directory --username=my_username
passwordundefinedClient auth password (optional)npx directory-serve /path-of-directory --username=my_username --password=my_password
deletefalseTo delete file/foldernpx directory-serve /path-of-directory --delete=true
debugfalseDebug modenpx directory-serve /path-of-directory --delete=true --debug=true

Examples

npx directory-serve .
npx directory-serve ~/Desktop
npx directory-serve ~/Desktop/my_image.png
npx directory-serve ~/Desktop -p=3000 --username=test --password=password

For Developing

prerequisite

  1. Node (>=12.0)
git clone https://github.com/cube-root/directory-serve.git
npm i
npm run dev /path-of-directory

For Contributing

Contribution Guide

Screenshot

CLI

screenshot

Client

screenshot screenshot

Client Auth

screenshot

1.3.6

2 years ago

1.3.5

2 years ago

1.3.4

2 years ago

1.3.3

2 years ago

1.3.2

2 years ago

1.3.1

2 years ago

1.3.0

2 years ago

1.2.1

2 years ago

1.2.0

2 years ago

1.1.6

2 years ago

1.1.5

2 years ago

1.1.4

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.9

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago