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

  • deno
    import * as wmill from "https://deno.land/x/windmill@v1.85.0/mod.ts";
    import { S3Client } from "https://deno.land/x/s3_lite_client@0.2.0/mod.ts";
    
    export async function main(
      s3: wmill.Resource<"s3">,
      path: string,
    ) {
      return (await new S3Client(s3).getObject(path)).text();
    }
    

    Submitted by adam186 1225 days ago

  • deno
    import * as wmill from "https://deno.land/x/windmill@v1.70.1/mod.ts";
    import { S3Client } from "https://deno.land/x/s3_lite_client@0.2.0/mod.ts";
    
    export async function main(
      s3: wmill.Resource<"s3">,
      path: string,
    ) {
      return (await new S3Client(s3).getObject(path)).text();
    }
    

    Submitted by adam186 1260 days ago

  • deno
    import * as wmill from "https://deno.land/x/windmill@v1.30.0/mod.ts";
    import { S3Client } from "https://deno.land/x/s3_lite_client@0.2.0/mod.ts";
    
    export async function main(
      s3: wmill.Resource<"s3">,
      path: string,
    ) {
      return (await new S3Client(s3).getObject(path)).text();
    }
    

    Submitted by admin 1456 days ago