Skip to content

Instantly share code, notes, and snippets.

View nerycordova's full-sized avatar
🏠
Working from home

Nery CM nerycordova

🏠
Working from home
View GitHub Profile
@nerycordova
nerycordova / lambda.js
Last active March 14, 2024 18:10
Unzip large files in AWS S3 using Lambda and Node.js
//Dev.to article: https://dev.to/nerycordova/unzip-large-files-in-aws-using-lambda-and-node-js-cpp
const AWS = require("aws-sdk");
const s3 = new AWS.S3({ apiVersion: "2006-03-01" });
const unzipper = require("unzipper");
exports.handler = async (event) => {
//...initialize bucket, filename and target_filename here
try {