2.0.5 • Published 4 years ago

@siva_sornaram/web-file-server v2.0.5

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

Web-File-Server

Simple Web-File-Server that can be created in your computer and share the files in Local Network.

Usage :

First Install the package from NPM

npm i @siva_sornaram/web-file-server -g

Using -g (install globally) to use the CLI tool from anywhere on your computer.

To Use it from CLI:

servfiles

By Default the port number will be 8081 and the directory will be the directory from where you are executing the above command. For example if you are using the command from Downloads/ directory, then the Downloads directory will be served and it will be the home directory in web page.

To Use your own port number and directory, use the below command

or

servfiles -p 8081 -dir /Location/To/Your/Path

To use this in your node app, add the below lines

Use these lines in your index.js

const fileserver = require('@siva_sornaram/web-file-server');
fileserver.webFileServer(8081); //port number
2.0.5

4 years ago

2.0.4

4 years ago

2.0.3

4 years ago

2.0.2

4 years ago

2.0.1

4 years ago

2.0.0

4 years ago

1.3.9

4 years ago

1.3.8

4 years ago

1.3.7

4 years ago

1.3.6

4 years ago

1.3.5

4 years ago

1.3.4

4 years ago

1.3.3

4 years ago

1.3.2

4 years ago

1.3.1

4 years ago

1.3.0

4 years ago

1.2.14

4 years ago

1.2.13

4 years ago

1.2.12

4 years ago

1.2.11

4 years ago

1.2.10

4 years ago

1.2.9

4 years ago

1.2.8

4 years ago

1.2.7

4 years ago

1.2.5

4 years ago

1.2.4

4 years ago

1.2.3

4 years ago

1.2.2

4 years ago

1.2.1

4 years ago

1.2.0

4 years ago

1.1.17

4 years ago

1.1.16

4 years ago

1.1.15

4 years ago

1.1.14

4 years ago

1.1.13

4 years ago

1.1.12

4 years ago

1.1.11

4 years ago

1.1.10

4 years ago

1.1.9

4 years ago

1.1.8

4 years ago

1.1.7

4 years ago

1.1.6

4 years ago

1.1.5

4 years ago

1.1.4

4 years ago

1.1.3

4 years ago

1.1.2

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago