This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import https from "node:https"; | |
import { XMLParser } from "fast-xml-parser"; | |
import fs from 'node:fs'; | |
import { | |
S3Client, | |
PutObjectCommand | |
} from "@aws-sdk/client-s3"; | |
import { | |
getSignedUrl, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import fs from 'node:fs'; | |
import { | |
S3Client, | |
PutObjectCommand | |
} from "@aws-sdk/client-s3"; | |
import { createPresignedPost } from '@aws-sdk/s3-presigned-post'; | |
import FormData from 'form-data'; | |
const client = new S3Client({ region: "ap-southeast-2" }); |
OlderNewer