Skip to content

Instantly share code, notes, and snippets.

View jkasun's full-sized avatar

Janith Kasun jkasun

View GitHub Profile
@jkasun
jkasun / index.js
Created September 24, 2019 16:45
Uploading Files to S3 With Node.js
const fs = require('fs');
const AWS = require('aws-sdk');
// Enter copied or downloaded access id and secret here
const ID = '';
const SECRET = '';
// Enter the name of the bucket that you have created here
const BUCKET_NAME = 'test-bucket-1242tsr';;