1.1.1 • Published 7 years ago

project-files-uploader v1.1.1

Weekly downloads
1
License
ISC
Repository
-
Last release
7 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

7 years ago

1.1.0

7 years ago

1.0.26

7 years ago

1.0.25

7 years ago

1.0.24

7 years ago

1.0.23

7 years ago

1.0.22

7 years ago

1.0.21

7 years ago

1.0.20

7 years ago

1.0.19

7 years ago

1.0.18

7 years ago

1.0.17

7 years ago

1.0.16

7 years ago

1.0.15

7 years ago

1.0.14

7 years ago

1.0.13

7 years ago

1.0.12

7 years ago

1.0.11

7 years ago

1.0.10

7 years ago

1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago