Edits history of script submission #109 for ' Get object in bucket as text (s3)'

  • deno
    import * as wmill from "https://deno.land/x/[email protected]/mod.ts";
    import { S3Client } from "https://deno.land/x/[email protected]/mod.ts";
    
    export async function main(
      s3: wmill.Resource<"s3">,
      path: string,
    ) {
      return (await new S3Client(s3).getObject(path)).text();
    }
    

    Submitted by adam186 1137 days ago

  • deno
    import * as wmill from "https://deno.land/x/[email protected]/mod.ts";
    import { S3Client } from "https://deno.land/x/[email protected]/mod.ts";
    
    export async function main(
      s3: wmill.Resource<"s3">,
      path: string,
    ) {
      return (await new S3Client(s3).getObject(path)).text();
    }
    

    Submitted by adam186 1172 days ago

  • deno
    import * as wmill from "https://deno.land/x/[email protected]/mod.ts";
    import { S3Client } from "https://deno.land/x/[email protected]/mod.ts";
    
    export async function main(
      s3: wmill.Resource<"s3">,
      path: string,
    ) {
      return (await new S3Client(s3).getObject(path)).text();
    }
    

    Submitted by admin 1367 days ago