{"id":13548553,"url":"https://github.com/izaakschroeder/vinyl-s3","last_synced_at":"2026-03-07T20:31:49.296Z","repository":{"id":22118072,"uuid":"25448650","full_name":"izaakschroeder/vinyl-s3","owner":"izaakschroeder","description":"Use S3 as a source or destination of vinyl files.","archived":false,"fork":false,"pushed_at":"2021-04-07T16:13:05.000Z","size":46,"stargazers_count":20,"open_issues_count":12,"forks_count":16,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-08-18T22:37:26.137Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/izaakschroeder.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-10-20T03:06:34.000Z","updated_at":"2021-12-08T08:40:12.000Z","dependencies_parsed_at":"2022-08-19T15:00:53.901Z","dependency_job_id":null,"html_url":"https://github.com/izaakschroeder/vinyl-s3","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/izaakschroeder/vinyl-s3","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/izaakschroeder%2Fvinyl-s3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/izaakschroeder%2Fvinyl-s3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/izaakschroeder%2Fvinyl-s3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/izaakschroeder%2Fvinyl-s3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/izaakschroeder","download_url":"https://codeload.github.com/izaakschroeder/vinyl-s3/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/izaakschroeder%2Fvinyl-s3/sbom","scorecard":{"id":499209,"data":{"date":"2025-08-11","repo":{"name":"github.com/izaakschroeder/vinyl-s3","commit":"f50d500ba1d9289f8ab711613c50275179232553"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.6,"checks":[{"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":"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":"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":"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":"Code-Review","score":0,"reason":"Found 2/26 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":"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":"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":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"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 'master'"],"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"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 17 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-19T21:22:05.009Z","repository_id":22118072,"created_at":"2025-08-19T21:22:05.009Z","updated_at":"2025-08-19T21:22:05.009Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30229743,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T19:01:10.287Z","status":"ssl_error","status_checked_at":"2026-03-07T18:59:58.103Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2024-08-01T12:01:11.765Z","updated_at":"2026-03-07T20:31:49.261Z","avatar_url":"https://github.com/izaakschroeder.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# vinyl-s3\n\nUse S3 as a source or destination of vinyl files.\n\n![build status](http://img.shields.io/travis/izaakschroeder/vinyl-s3/master.svg?style=flat)\n![coverage](http://img.shields.io/coveralls/izaakschroeder/vinyl-s3/master.svg?style=flat)\n![license](http://img.shields.io/npm/l/vinyl-s3.svg?style=flat)\n![version](http://img.shields.io/npm/v/vinyl-s3.svg?style=flat)\n![downloads](http://img.shields.io/npm/dm/vinyl-s3.svg?style=flat)\n\nFeatures:\n * Source with multi-globbing support,\n * Use either streaming or buffering,\n * Upload or download files,\n * Pass custom options to S3,\n * Smart `Content-Type` and `Content-Encoding` detection,\n * Works great with gulp.\n\n## Usage\n\n```javascript\nvar gulp = require('gulp'),\n\ts3 = require('vinyl-s3');\n\n// Upload files to S3\ngulp.task('upload', function() {\n\treturn gulp.src('data/*.jpg', { buffer: false })\n\t\t.pipe(s3.dest('s3://my-bucket/prefix'));\n});\n\n// Download files from S3\ngulp.task('download', function() {\n\treturn s3.src('s3://my-bucket/prefix/*.jpg', { buffer: false })\n\t\t.pipe(gulp.dest('data'));\n});\n\n// Just print a list of files\nvar through2 = require('through2');\ngulp.task('meta', function() {\n\treturn s3.src('s3://my-bucket/foo/**/*.jpg', { read: false })\n\t\t.pipe(through2.obj(function(file, _, callback) {\n\t\t\tconsole.log(file.path);\n\t\t\tcallback();\n\t\t}));\n});\n```\n\nWhen working with large files you may find it useful to use streaming mode instead of buffering mode. You can enable this in the `src()` family of functions by setting `{ buffer: false }`. The default mode is to use buffering as is the same with `fs.src`.\n\n### src\n\nSee [getObject] for a list of supported options.\n\n```javascript\n// Specify custom attributes via S3 URL.\ns3.src('s3://bucket/key/*?IfModifiedSince=123456789')\n    .pipe(fs.dest('downloads'));\n```\n\n```javascript\n// Specify custom attributes by passing in an AWS options object.\ns3.src({\n    Bucket: 'bucket',\n    Key: 'key/*',\n    IfModifiedSince: Date.now()\n}).pipe(fs.dest('downloads'));\n```\n\n```javascript\n// Use multiple source buckets and patterns.\ns3.src(['s3://bucket1/*.jpg', 's3://bucket1/*.png', 's3://bucket2/*.gif'])\n    .pipe(fs.dest('downloads'));\n```\n\n### dest\n\nSee [putObject] and [upload] for a list of supported options. There is limited support for automatically detecting the correct `Content-Type` and correct `Content-Encoding`. Parallel uploads are supported by passing `{ queueSize: n }` as a second parameter.\n\n```javascript\n// Specify custom attributes via S3 URL.\nfs.src('files/*.jpg')\n    .pipe(s3.dest('s3://bucket/foo?ContentType=image/jpeg'));\n```\n\n```javascript\n// Specify custom attributes by passing in an AWS options object.\nfs.src('files/*.jpg')\n    .pipe(s3.dest({\n        Bucket: 'bucket',\n        Key: 'foo',\n        ContentType: 'image/jpeg'\n    }));\n```\n\n```javascript\n// Specify custom attributes per file.\nfs.src('files/*.jpg')\n    .pipe(through2.obj(function(file, enc, next) {\n        // There are some non-standard properties on the file object that\n        // are used to generate certain AWS options.\n        file.contentType = 'image/jpeg';\n        file.contentEncoding = 'gzip';\n\n        // Setting the awsOptions property on a file causes the object to be\n        // included in the command sent to S3. These options override any\n        // previously set value.\n        file.awsOptions = {\n            ACL: 'private',\n            CacheControl: 'max-age=1296000',\n            ContentType: 'image/jpeg',\n            Metadata: {\n                color: 'red'\n            }\n        };\n        this.push(file);\n        next();\n    }))\n    .pipe(s3.dest('s3://bucket/foo'));\n```\n\n[getObject]: http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/S3.html#getObject-property\n[putObject]: http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/S3.html#putObject-property\n[upload]: http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/S3.html#upload-property\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fizaakschroeder%2Fvinyl-s3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fizaakschroeder%2Fvinyl-s3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fizaakschroeder%2Fvinyl-s3/lists"}