
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
@itkyk/aws-s3-sync
Advanced tools
$ npm i -D @itkyk/aws-s3-sync
{
"script": {
"init": "sync --init"
}
}
s3.config.ts
in root
.$ npm run init
Open s3.config.ts
, then write AWS/S3 settings.
Add deploy command to script in package.json
The location of "preview" will be the name you changed from template earlier.
{
"script": {
"deploy": "sync --deploy example"
}
}
npm run deploy
, sync s3 bucket.key | description | default |
---|---|---|
configure | AWS.S3ClientConfig & AWS.CloudFrontClientConfig settings. | |
localTarget | Dir name of traget local files. | |
bucketName | Name of Target Bucket. | |
includes | Glob pattern of localTarget . | /**/* |
excludes | Glob pattern of excludes pattern. | |
maxAsyncS3 | 30 | |
sync | Delete file when syncing. | false |
force | Upload all files without checking remote files. | false |
exactTimestamps | When syncing, also check the TimeStamp. | false |
outputLog | Log file settings.(boolean OR {outDir: string, filename?: string} ) | false |
outputLog.outDir | Output log file directory. | ./s3 |
outputLog.filename | Output log filename. | log-[yy-mm-dd-hh-mm-ss].json |
clearCache.distributionId | Target CloudFront distoributionId. | |
clearCache.paths | distoribution paths.string[] |
FAQs
Unknown package
We found that @itkyk/aws-s3-sync demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.