Search
Setup for Free
CD
Cloudflare Developers
•
2y ago
Wraith
How to use R2 on nodejs
i want to make upload file with expressjs and nodejs using the R2 from cloudflare but i couldn
't found a docs for it
Cloudflare Developers
Join
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
83,384
Members
View on Discord
Similar Threads
Was this page helpful?
Yes
No
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
W
Wraith
i want to make upload file with expressjs and nodejs using the R2 from cloudflar...
C
Chaika
•
1/23/24, 3:44 PM
R2 is S3 Compatiable
. You can find a tutorial for it using S3
, and chances are you would be able to use R2 instead
. There
's docs on setting up a few common js sdks with r2 here
:
https://developers.cloudflare.com/r2/examples/aws/aws-sdk-js-v3/
aws-sdk-js-v3 · Cloudflare R2 docs
You must generate an Access Key before getting started
. All examples will utilize access
_key
_id and access
_key
_secret variables which represent the
…
W
Wraith
OP
•
1/23/24, 3:45 PM
so uh how to upload
?
Similar Threads
Confused with how to use R2 S3 API.
CD
Cloudflare Developers / workers-and-pages-help
2y ago
How to use R2 from NuxtJS using Pages?
CD
Cloudflare Developers / pages-help
3y ago
How to turn off DDOS protection on R2?
CD
Cloudflare Developers / general-help
2y ago
How to use a worker to download an image into R2
CD
Cloudflare Developers / workers-and-pages-help
17mo ago