{"id":48540212,"url":"https://github.com/sncegroup/aws-s3-utils","last_synced_at":"2026-04-08T04:02:00.443Z","repository":{"id":57364662,"uuid":"308665718","full_name":"SnceGroup/aws-s3-utils","owner":"SnceGroup","description":"AWS Helper for uploading file to S3 bucket","archived":false,"fork":false,"pushed_at":"2022-01-07T09:20:07.000Z","size":69,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-05-09T08:38:09.100Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SnceGroup.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-10-30T15:10:21.000Z","updated_at":"2022-01-07T09:20:10.000Z","dependencies_parsed_at":"2022-09-13T21:11:31.061Z","dependency_job_id":null,"html_url":"https://github.com/SnceGroup/aws-s3-utils","commit_stats":null,"previous_names":["sncegroup/aws-s3-uploader"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SnceGroup/aws-s3-utils","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SnceGroup%2Faws-s3-utils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SnceGroup%2Faws-s3-utils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SnceGroup%2Faws-s3-utils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SnceGroup%2Faws-s3-utils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SnceGroup","download_url":"https://codeload.github.com/SnceGroup/aws-s3-utils/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SnceGroup%2Faws-s3-utils/sbom","scorecard":{"id":131520,"data":{"date":"2025-08-11","repo":{"name":"github.com/SnceGroup/aws-s3-utils","commit":"beffc66b8207ef3d2fe8cb20d948c9a6913813fd"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: GNU General Public License v2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-16T05:20:27.370Z","repository_id":57364662,"created_at":"2025-08-16T05:20:27.370Z","updated_at":"2025-08-16T05:20:27.370Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31539229,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T16:28:08.000Z","status":"online","status_checked_at":"2026-04-08T02:00:06.127Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-04-08T04:01:55.519Z","updated_at":"2026-04-08T04:02:00.428Z","avatar_url":"https://github.com/SnceGroup.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AWS S3 Bucket Utils\n\n[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](http://standardjs.com/)\n\nAWS Helper for manage file on AWS S3 bucket, available methods:\n- [Upload](#upload)\n- [Delete](#delete)\n- [Download](#download)\n\n\n## Requirement \n\nAWS S3 bucket with valid credentials, access key using profile stored in .aws/credentials or using key from .env file\n\n## Installation\n\nUsing npm:\n```shell\n$ npm i -g npm\n$ npm i snce-aws-utils\n```\n\n## Usage\n\nRequire module:\n```js\n// Load aws-s3-utils.\nconst snceS3Utils = require('snce-aws-utils');\n```\n\n### Module Init\nTwo different authentication method available for S3:\n- `.ENV` file\n-  AWS `Profile`\n\n#### .ENV\nSample of .env file\n```\n#FRONTEND LOCAL S3 BUCKET\nKEYLOCAL=\nBUCKETLOCAL=\nSECRETLOCAL=\n```\n\n#### Profile\nSet profile name and ensure that you already set valid credentials on AWS\n\n\n### \u003ca name=\"upload\"\u003e\u003c/a\u003eUpload\nUpload function to be used: `upload()`\nParameter explanation:\n```\n   * Upload files from given folder on AWS S3 bucket\n   * @param {string} buildFolder folder to be uploaded.\n   * @param {string} destinationFolder destination folder on S3 bucket\n   * @param {string} releaseName name of the release to be used (optional) fallback is the string into MANIFEST file.\n   * @param {string[]} compressedFileExt list of file extension gzipped in order to set right content encoding value (optional)\n   * @param {boolean} noReleaseName flag for not using any release name: file will be uploaded directly on root of the bucket (optional)\n   * @param {string} acl to be used during uploading file (optional: public-read as default)\n```\n\n### \u003ca name=\"delete\"\u003e\u003c/a\u003eDelete\nUpload function to be used: `delete()`\nParameter explanation:\n```\n   * Delete single file  from given AWS S3 bucket\n   * @param {string} filePath path for the file to be downloaded.\n```\n\n\n### \u003ca name=\"download\"\u003e\u003c/a\u003eDownload\nUpload function to be used: `download()`\nParameter explanation:\n```\n   * Download single file  from given AWS S3 bucket\n   * @param {string} filePath path for the file to be downloaded.\n```\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsncegroup%2Faws-s3-utils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsncegroup%2Faws-s3-utils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsncegroup%2Faws-s3-utils/lists"}