1.1.1 • Published 6 years ago

project-files-uploader v1.1.1

Weekly downloads
1
License
ISC
Repository
-
Last release
6 years ago

files uploader

To use this app you should:

  1. Install this package with npm - "npm install project-files-uploader --save ".

  2. Import function "main" to your js code - "import main from 'project-files-uploader'".

  3. Optionally: you can use prepared server for this app. You can get it from https://github.com/RostyslavSt/serverUploadFiles. To start server please run the command "npm start". It will start server on localhost:3002. Api for uploading: "http://localhost:3002/upload".

  4. Then in your code you should call function "main" with two parameters main(<root element>, <server url>).

    <root element> it is your html tag where you want to add form for uploading files.

    For example your js code:

<script>

  import main from 'project-files-uploader';

  const serverURL = 'http://localhost:3002/upload';

  const rootElement = document.getElementById('block');

  main(rootElement, serverURL);

</script>
1.1.1

6 years ago

1.1.0

6 years ago

1.0.26

6 years ago

1.0.25

6 years ago

1.0.24

6 years ago

1.0.23

6 years ago

1.0.22

6 years ago

1.0.21

6 years ago

1.0.20

6 years ago

1.0.19

6 years ago

1.0.18

6 years ago

1.0.17

6 years ago

1.0.16

6 years ago

1.0.15

6 years ago

1.0.14

6 years ago

1.0.13

6 years ago

1.0.12

6 years ago

1.0.11

6 years ago

1.0.10

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago