Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
C
client-s3
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李金钢
client-s3
Commits
b7bc4933
Commit
b7bc4933
authored
Mar 10, 2026
by
lijingang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update package name to @youdatasum/client-s3 and add repository URL
parent
9dc4164f
Pipeline
#292
canceled with stages
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
6 deletions
+10
-6
README.md
ss3ops/README.md
+4
-4
package.json
ss3ops/package.json
+6
-2
No files found.
ss3ops/README.md
View file @
b7bc4933
# @youdatasum/
ss3ops
# @youdatasum/
client-s3
S3 operations client for internal use.
S3 operations client for internal use.
...
@@ -7,7 +7,7 @@ S3 operations client for internal use.
...
@@ -7,7 +7,7 @@ S3 operations client for internal use.
### As a global CLI tool
### As a global CLI tool
```
bash
```
bash
npm
install
-g
@youdatasum/
ss3ops
npm
install
-g
@youdatasum/
client-s3
```
```
Or via GitLab npm registry (internal). Alternatively, install directly from GitLab repository:
Or via GitLab npm registry (internal). Alternatively, install directly from GitLab repository:
...
@@ -19,7 +19,7 @@ npm install -g git+ssh://git@git.youdatasum.com:ljg/client-s3.git
...
@@ -19,7 +19,7 @@ npm install -g git+ssh://git@git.youdatasum.com:ljg/client-s3.git
### As a library in your project
### As a library in your project
```
bash
```
bash
npm
install
@youdatasum/
ss3ops
npm
install
@youdatasum/
client-s3
```
```
Or via Git:
Or via Git:
...
@@ -54,7 +54,7 @@ ss3ops list <bucket> [prefix]
...
@@ -54,7 +54,7 @@ ss3ops list <bucket> [prefix]
### Node.js library
### Node.js library
```
javascript
```
javascript
const
{
s3
,
downloadFileFromS3
,
uploadFileToS3
,
uploadFolderToS3
,
downloadS3Folder
}
=
require
(
'@youdatasum/
ss3ops
'
);
const
{
s3
,
downloadFileFromS3
,
uploadFileToS3
,
uploadFolderToS3
,
downloadS3Folder
}
=
require
(
'@youdatasum/
client-s3
'
);
// Use the pre-configured S3 client (connected to internal RustFS endpoint)
// Use the pre-configured S3 client (connected to internal RustFS endpoint)
await
s3
.
send
(...);
await
s3
.
send
(...);
...
...
ss3ops/package.json
View file @
b7bc4933
{
{
"name"
:
"@youdatasum/
ss3ops
"
,
"name"
:
"@youdatasum/
client-s3
"
,
"version"
:
"1.0.0"
,
"version"
:
"1.0.0"
,
"description"
:
"S3 operations client for internal use"
,
"description"
:
"S3 operations client for internal use"
,
"main"
:
"lib/index.js"
,
"main"
:
"lib/index.js"
,
...
@@ -12,8 +12,12 @@
...
@@ -12,8 +12,12 @@
"keywords"
:
[
"s3"
,
"aws"
,
"client"
,
"internal"
],
"keywords"
:
[
"s3"
,
"aws"
,
"client"
,
"internal"
],
"author"
:
"Youdatasum"
,
"author"
:
"Youdatasum"
,
"license"
:
"MIT"
,
"license"
:
"MIT"
,
"repository"
:
{
"type"
:
"git"
,
"url"
:
"git+ssh://git@git.youdatasum.com:ljg/client-s3.git"
},
"publishConfig"
:
{
"publishConfig"
:
{
"registry"
:
"https://git
lab.example
.com/api/v4/projects/<project_id>/packages/npm/"
"registry"
:
"https://git
.youdatasum
.com/api/v4/projects/<project_id>/packages/npm/"
},
},
"dependencies"
:
{
"dependencies"
:
{
"@aws-sdk/client-s3"
:
"^3.0.0"
,
"@aws-sdk/client-s3"
:
"^3.0.0"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment