@devslane/node-s3-wrapper
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

DevsLane S3 Wrapper Node

Install

$ yarn add @devslane/node-s3-wrapper

Code Examples

import request from "request";
import { S3ACL } from "dln-s3-wrapper";

    const _imageDownload = request.get("https://www.google.com/images/branding/googlelogo/2x/googlelogo_color_272x92dp.png");

    await s3Service.uploadStream(_imageDownload, "image1.png", {
        directory: "testing",
        contentType: "image/jpeg",
        acl: S3ACL.PUBLIC_READ
    });

Development

/@devslane/node-s3-wrapper/

    Package Sidebar

    Install

    npm i @devslane/node-s3-wrapper

    Homepage

    devslane.com

    Weekly Downloads

    15

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    21.3 kB

    Total Files

    19

    Last publish

    Collaborators

    • piyushkantm
    • kush3107