AWS Lambda simple function
Budget: $10 – $30 AUD
need someone to do a quick project that saves a file from a url
get.(link) saves it to the /temp path in Lambda and then extracts the zip file and reads
some thing like this,
fs.createReadStream(path)
.pipe(unzipper.Extract({ path:'.'+ process.cwd()+'/' }));
const xml = fs.readFileSync(
'.'+process.cwd() + '/' +'extractedXML.xml',
"utf8"
);
get.(link) saves it to the /temp path in Lambda and then extracts the zip file and reads
some thing like this,
fs.createReadStream(path)
.pipe(unzipper.Extract({ path:'.'+ process.cwd()+'/' }));
const xml = fs.readFileSync(
'.'+process.cwd() + '/' +'extractedXML.xml',
"utf8"
);