uppy/examples/node-xhr
Antoine du Hamel 7b0db7d3a0
meta: use node: protocol when using Node.js built-in core modules (#3871)
`node:` protocol is available as of Node.js 14.18.0 LTS. Since we are
dropping support for all Node.js versions below that, we can take
advantage of this prefix to help differentiate built-in modules from npm
modules.
2022-07-18 14:09:03 +02:00
..
.gitignore create uploads folder, use uppy css from the bundle 2019-04-11 16:30:33 +03:00
index.html create uploads folder, use uppy css from the bundle 2019-04-11 16:30:33 +03:00
main.js error on import lint failure + some misc lint fixes (#2813) 2021-03-20 11:02:49 +01:00
package.json meta: update npm deps (#3352) 2021-12-09 18:12:34 +01:00
readme.md Add retext to markdown linter (#3024) 2021-10-14 16:10:45 +02:00
server.js meta: use node: protocol when using Node.js built-in core modules (#3871) 2022-07-18 14:09:03 +02:00

Uppy + Node Example

This example uses Node server and @uppy/xhr-upload to upload files to the local file system.

Run it

To run this example, make sure you've correctly installed the repository root:

npm install
npm run build

That will also install the dependencies for this example.

Then, again in the repository root, start this example by doing:

npm run example node-xhr