A library that helps you send files over wifi between different devices
npm install fileshare-cli!Receiver Screenshot# Installation
You can install fileshare with any package manager of your choice, either with npm or yarn.
To install with npm run:
```
npm install -g fileshare-cli`
To install with yarn, run:`
yarn global add fileshare-cli
To use fileshare, navigate to your terminal and enter the command below:
``
fileshare
You will be presented with instructions on how to run the program.
If you want to send a file or folder, navigate to the directory of the folder and enter the command below:
``
fileshare send -f name_of_file_or_folder
NB: An ip address will be shown on the terminal, this is what the receiver needs to connect to the sener
The receiver as well will navigate to the directory where he wants to receive the file and run the command below:
``
fileshare receive -a ip_address_shown_on_sender's_terminal
Immediately a connection is established, the file begins to transfer.
That's all you need to do to share your files. Enjoy...
fileshare -f command: send
filename : the name of the file to be sent
-f: tag can also be replaced with --file
Example:
fileshare send -f my_folder
`$3
`
fileshare -a command: receive
ip_address : the ip_address displayed on the terminal of the sender
-a: tag can also be replaced with --address
Example
fileshare receive -f 123.456.78.900
``