{"_id":"@4everland/s3-lib-storage","_rev":"2-a616e20930aedee9479901f67e2fb560","name":"@4everland/s3-lib-storage","dist-tags":{"latest":"3.427.1"},"versions":{"3.427.0":{"name":"@4everland/s3-lib-storage","version":"3.427.0","author":{"url":"https://aws.amazon.com/javascript/","name":"AWS SDK for JavaScript Team"},"license":"Apache-2.0","_id":"@4everland/s3-lib-storage@3.427.0","maintainers":[{"name":"yipcing","email":"yepcing@gmail.com"},{"name":"hyongnim","email":"409337645@qq.com"},{"name":"dinn","email":"2274822997@qq.com"},{"name":"indirasieben","email":"indirasiebenenv79@gmail.com"},{"name":"4ever-land","email":"tfspq@protonmail.com"}],"homepage":"https://github.com/aws/aws-sdk-js-v3/tree/main/lib/lib-storage","bugs":{"url":"https://github.com/aws/aws-sdk-js-v3/issues"},"dist":{"shasum":"89469094a163999e827ce6dabca0658332eb0fd2","tarball":"https://registry.npmjs.org/@4everland/s3-lib-storage/-/s3-lib-storage-3.427.0.tgz","fileCount":42,"integrity":"sha512-+bgs+cJv0Ng6+dIbUARYq08pwNDAytIJnghAyn+Dc57u8/OxCyhVGRMTyPakwI8HZoL3a4Tc+XbOf11xAiOkHg==","signatures":[{"sig":"MEUCIBFkwkDO7P2lm1fkHsEiAr0u78j3Jawi1lGOtGxgbUBHAiEA/4KV7+6bHqiROYdOUGUMOZpmGhWn0DKnFm4IbSqcu0Y=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54703},"main":"./dist-cjs/index.js","types":"./dist-types/index.d.ts","module":"./dist-es/index.js","browser":{"fs":false,"stream":"stream-browserify","./dist-es/runtimeConfig":"./dist-es/runtimeConfig.browser"},"engines":{"node":">=14.0.0"},"scripts":{"test":"jest","build":"concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'","clean":"rimraf ./dist-* && rimraf *.tsbuildinfo","build:es":"tsc -p tsconfig.es.json","build:cjs":"tsc -p tsconfig.cjs.json","build:types":"tsc -p tsconfig.types.json","extract:docs":"api-extractor run --local","build:include:deps":"lerna run --scope $npm_package_name --include-dependencies build","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4"},"typedoc":{"entryPoint":"src/index.ts"},"_npmUser":{"name":"yipcing","email":"yepcing@gmail.com"},"repository":{"url":"git+https://github.com/aws/aws-sdk-js-v3.git","type":"git","directory":"lib/lib-storage"},"_npmVersion":"9.6.7","description":"Storage higher order operation","directories":{},"_nodeVersion":"18.17.0","dependencies":{"tslib":"^2.5.0","buffer":"5.6.0","events":"3.3.0","stream-browserify":"3.0.0","@smithy/smithy-client":"^2.1.9","@smithy/abort-controller":"^2.0.1","@smithy/middleware-endpoint":"^2.0.10"},"react-native":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.native"},"typesVersions":{"<4.0":{"dist-types/*":["dist-types/ts3.4/*"]}},"_hasShrinkwrap":false,"devDependencies":{"rimraf":"3.0.2","typedoc":"0.23.23","typescript":"~4.9.5","@types/node":"^14.14.31","concurrently":"7.0.0","@smithy/types":"^2.3.4","downlevel-dts":"0.10.1","@aws-sdk/client-s3":"3.427.0","web-streams-polyfill":"3.2.1","@tsconfig/recommended":"1.0.1"},"peerDependencies":{"@aws-sdk/client-s3":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/s3-lib-storage_3.427.0_1696997038525_0.4739677125871613","host":"s3://npm-registry-packages"}},"3.427.1":{"name":"@4everland/s3-lib-storage","version":"3.427.1","author":{"url":"https://aws.amazon.com/javascript/","name":"AWS SDK for JavaScript Team"},"license":"Apache-2.0","_id":"@4everland/s3-lib-storage@3.427.1","maintainers":[{"name":"yipcing","email":"yepcing@gmail.com"},{"name":"hyongnim","email":"409337645@qq.com"},{"name":"dinn","email":"2274822997@qq.com"},{"name":"indirasieben","email":"indirasiebenenv79@gmail.com"},{"name":"4ever-land","email":"tfspq@protonmail.com"}],"homepage":"https://github.com/aws/aws-sdk-js-v3/tree/main/lib/lib-storage","bugs":{"url":"https://github.com/aws/aws-sdk-js-v3/issues"},"dist":{"shasum":"d5e8706c8ea4df50d4bd775976db8d7d31ac1620","tarball":"https://registry.npmjs.org/@4everland/s3-lib-storage/-/s3-lib-storage-3.427.1.tgz","fileCount":42,"integrity":"sha512-gtamoH307X2chuaTr5tWlIMyRssOCPsM+q3mrcNA+xSvHkXs5Dw7DPLhCfbqwKb3Eamb8rXDdJBbST/Gkspa1w==","signatures":[{"sig":"MEQCIDxXEaNSuIqizwveImPgUdFVlFs+NQUX5OcwKA5l/DZwAiAevIXd8wwko8BTuH0VW2+invRhncD7GFYSq5nIA1UD4Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54703},"main":"./dist-cjs/index.js","types":"./dist-types/index.d.ts","module":"./dist-es/index.js","browser":{"fs":false,"stream":"stream-browserify","./dist-es/runtimeConfig":"./dist-es/runtimeConfig.browser"},"engines":{"node":">=14.0.0"},"scripts":{"test":"jest","build":"concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'","clean":"rimraf ./dist-* && rimraf *.tsbuildinfo","build:es":"tsc -p tsconfig.es.json","build:cjs":"tsc -p tsconfig.cjs.json","build:types":"tsc -p tsconfig.types.json","extract:docs":"api-extractor run --local","build:include:deps":"lerna run --scope $npm_package_name --include-dependencies build","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4"},"typedoc":{"entryPoint":"src/index.ts"},"_npmUser":{"name":"yipcing","email":"yepcing@gmail.com"},"repository":{"url":"git+https://github.com/aws/aws-sdk-js-v3.git","type":"git","directory":"lib/lib-storage"},"_npmVersion":"9.6.7","description":"Storage higher order operation","directories":{},"_nodeVersion":"18.17.0","dependencies":{"tslib":"^2.5.0","buffer":"5.6.0","events":"3.3.0","stream-browserify":"3.0.0","@smithy/smithy-client":"^2.1.9","@smithy/abort-controller":"^2.0.1","@smithy/middleware-endpoint":"^2.0.10"},"react-native":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.native"},"typesVersions":{"<4.0":{"dist-types/*":["dist-types/ts3.4/*"]}},"_hasShrinkwrap":false,"devDependencies":{"rimraf":"3.0.2","typedoc":"0.23.23","typescript":"~4.9.5","@types/node":"^14.14.31","concurrently":"7.0.0","@smithy/types":"^2.3.4","downlevel-dts":"0.10.1","@aws-sdk/client-s3":"3.427.0","web-streams-polyfill":"3.2.1","@tsconfig/recommended":"1.0.1"},"peerDependencies":{"@aws-sdk/client-s3":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/s3-lib-storage_3.427.1_1697003528622_0.4370959372624461","host":"s3://npm-registry-packages"}}},"time":{"created":"2023-10-11T04:03:58.440Z","modified":"2025-02-25T07:05:52.044Z","3.427.0":"2023-10-11T04:03:58.771Z","3.427.1":"2023-10-11T05:52:08.839Z"},"bugs":{"url":"https://github.com/aws/aws-sdk-js-v3/issues"},"author":{"url":"https://aws.amazon.com/javascript/","name":"AWS SDK for JavaScript Team"},"license":"Apache-2.0","homepage":"https://github.com/aws/aws-sdk-js-v3/tree/main/lib/lib-storage","repository":{"url":"git+https://github.com/aws/aws-sdk-js-v3.git","type":"git","directory":"lib/lib-storage"},"description":"Storage higher order operation","maintainers":[{"email":"indirasiebenenv79@gmail.com","name":"indirasieben"},{"email":"tfspq@protonmail.com","name":"4ever-land"},{"email":"2274822997@qq.com","name":"dinn"},{"email":"yepcing@gmail.com","name":"yipcing"},{"email":"409337645@qq.com","name":"hyongnim"},{"email":"a1504848701@outlook.com","name":"4everland_dev"}],"readme":"# @aws-sdk/lib-storage\n\n[![NPM version](https://img.shields.io/npm/v/@aws-sdk/lib-storage/latest.svg)](https://www.npmjs.com/package/@aws-sdk/lib-storage)\n[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/lib-storage.svg)](https://www.npmjs.com/package/@aws-sdk/lib-storage)\n\n### Upload\n\nUpload allows for easy and efficient uploading of buffers, blobs, or streams, using a configurable amount of concurrency to perform multipart uploads where possible. This abstraction enables uploading large files or streams of unknown size due to the use of multipart uploads under the hood.\n\n```js\nimport { Upload } from \"@aws-sdk/lib-storage\";\nimport { S3Client, S3 } from \"@aws-sdk/client-s3\";\n\ntry {\n  const parallelUploads3 = new Upload({\n    client: new S3({}) || new S3Client({}),\n    params: { Bucket, Key, Body },\n\n    tags: [\n      /*...*/\n    ], // optional tags\n    queueSize: 4, // optional concurrency configuration\n    partSize: 1024 * 1024 * 5, // optional size of each part, in bytes, at least 5MB\n    leavePartsOnError: false, // optional manually handle dropped parts\n  });\n\n  parallelUploads3.on(\"httpUploadProgress\", (progress) => {\n    console.log(progress);\n  });\n\n  await parallelUploads3.done();\n} catch (e) {\n  console.log(e);\n}\n```\n","readmeFilename":"README.md"}