{"id":24247131,"url":"https://github.com/kukhariev/node-uploadx","last_synced_at":"2026-04-02T17:51:23.596Z","repository":{"id":32598713,"uuid":"137261449","full_name":"kukhariev/node-uploadx","owner":"kukhariev","description":"Node.js middleware for handling resumable uploads","archived":false,"fork":false,"pushed_at":"2026-03-28T06:14:38.000Z","size":3187,"stargazers_count":24,"open_issues_count":8,"forks_count":7,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-03-28T11:29:38.206Z","etag":null,"topics":["chunked-uploads","expressjs","resumable","s3","tus","upload","uploadx"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kukhariev.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2018-06-13T19:29:13.000Z","updated_at":"2026-03-13T08:43:05.000Z","dependencies_parsed_at":"2023-01-14T21:41:39.119Z","dependency_job_id":"55947475-3e75-4623-a97f-410d0592ddea","html_url":"https://github.com/kukhariev/node-uploadx","commit_stats":{"total_commits":921,"total_committers":6,"mean_commits":153.5,"dds":0.4321389793702497,"last_synced_commit":"365744037e60dd9f97edc7ec4caad6d1fc1a2f1c"},"previous_names":[],"tags_count":80,"template":false,"template_full_name":null,"purl":"pkg:github/kukhariev/node-uploadx","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kukhariev%2Fnode-uploadx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kukhariev%2Fnode-uploadx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kukhariev%2Fnode-uploadx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kukhariev%2Fnode-uploadx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kukhariev","download_url":"https://codeload.github.com/kukhariev/node-uploadx/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kukhariev%2Fnode-uploadx/sbom","scorecard":{"id":573146,"data":{"date":"2025-08-11","repo":{"name":"github.com/kukhariev/node-uploadx","commit":"a5bd63607b59dfc0a5295b1c88bb9ae347ea2058"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.6,"checks":[{"name":"Maintained","score":10,"reason":"11 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 0/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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/self-hosted-test.yml:1","Warn: no topLevel permission defined: .github/workflows/test.yml:1","Info: no jobLevel write permissions found"],"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":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","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":"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":"Pinned-Dependencies","score":3,"reason":"dependency not pinned by hash detected -- score normalized to 3","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/self-hosted-test.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/kukhariev/node-uploadx/self-hosted-test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/self-hosted-test.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/kukhariev/node-uploadx/self-hosted-test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/self-hosted-test.yml:41: update your workflow using https://app.stepsecurity.io/secureworkflow/kukhariev/node-uploadx/self-hosted-test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/self-hosted-test.yml:46: update your workflow using https://app.stepsecurity.io/secureworkflow/kukhariev/node-uploadx/self-hosted-test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/kukhariev/node-uploadx/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/kukhariev/node-uploadx/test.yml/master?enable=pin","Info:   0 out of   6 GitHub-owned GitHubAction dependencies pinned","Info:   3 out of   3 npmCommand dependencies pinned"],"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":"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":"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":"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":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: 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":"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":4,"reason":"SAST tool is not run on all commits -- score normalized to 4","details":["Warn: 10 commits out of 21 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"}},{"name":"Vulnerabilities","score":8,"reason":"2 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-xffm-g5w8-qvg7","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-20T16:53:39.839Z","repository_id":32598713,"created_at":"2025-08-20T16:53:39.839Z","updated_at":"2025-08-20T16:53:39.839Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31312744,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-02T12:59:32.332Z","status":"ssl_error","status_checked_at":"2026-04-02T12:54:48.875Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["chunked-uploads","expressjs","resumable","s3","tus","upload","uploadx"],"created_at":"2025-01-14T23:18:15.271Z","updated_at":"2026-04-02T17:51:23.584Z","avatar_url":"https://github.com/kukhariev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# node-uploadx\n\n[![npm version][npm-image]][npm-url] [![Build status][gha-image]][gha-url]\n[![commits since latest release][comm-image]][comm-url]\n\nResumable upload middleware for [express](https://github.com/expressjs/express)\nand plain node.js.\nServer-side part of [ngx-uploadx](https://github.com/kukhariev/ngx-uploadx)\n\n## ✨ Features\n\n- resumable simple/chunked uploads\n- can save files to local filesystem, S3, GCS\n- saving added metadata along with files\n- logging and error handling\n- chunks checksum verification\n- file type/size/custom validations\n- fixed/rolling expiration and cleanup\n- extensibility (custom storages, upload protocols, etc)\n\n## 🌩️ Installation\n\nAll-In-One with cloud storage support:\n\n```sh\nnpm install node-uploadx\n```\n\nSeparate modules can also be used to save disk space and for faster installation process.:\n\n- core module:\n\n  ```sh\n  npm install @uploadx/core\n  ```\n\n- _S3_ storage support:\n\n  ```sh\n  npm install @uploadx/s3\n  ```\n\n## ♨️ Usage\n\nExpress example:\n\n```js\nconst express = require('express');\nconst { uploadx } = require('@uploadx/core');\n\nconst app = express();\n\napp.use(\n  '/uploads',\n  uploadx({\n    directory: './files',\n    maxUploadSize: '10GB',\n    allowMIME: ['video/*'],\n    onComplete: file =\u003e console.log('Upload complete: ', file)\n  })\n);\n\napp.listen(3003);\n```\n\nPlease navigate to the [examples](examples) for more.\n\n## 🛠️ Options\n\nSome available options: :\n\n| option                |         type         |  default value   | description                                                  |\n| :-------------------- | :------------------: | :--------------: | ------------------------------------------------------------ |\n| `directory`           |       `string`       |    `\"files\"`     | _DiskStorage upload directory_                               |\n| `bucket`              |       `string`       | `\"node-uploadx\"` | _Storage bucket_                                             |\n| `path`                |       `string`       |    `\"/files\"`    | _Node http base path_                                        |\n| `allowMIME`           |      `string[]`      |    `[\"*\\*\"]`     | _Allowed MIME types_                                         |\n| `maxUploadSize`       |   `string\\|number`   |     `\"5TB\"`      | _File size limit_                                            |\n| `metaStorage`         |    `MetaStorage`     |                  | _Provide custom meta storage_                                |\n| `metaStorageConfig`   | `MetaStorageOptions` |                  | _Configure metafiles storage_                                |\n| `maxMetadataSize`     |   `string\\|number`   |     `\"4MB\"`      | _Metadata size limit_                                        |\n| `validation`          |     `Validation`     |                  | _Upload validation options_                                  |\n| `useRelativeLocation` |      `boolean`       |     `false`      | _Use relative urls_                                          |\n| `filename`            |      `Function`      |                  | _File naming function_                                       |\n| `userIdentifier`      |   `UserIdentifier`   |                  | _Get user identity_                                          |\n| `onCreate`            |      `OnCreate`      |                  | _Callback that is called when a new upload is created_       |\n| `onUpdate`            |      `OnUpdate`      |                  | _Callback that is called when an upload is updated_          |\n| `onComplete`          |     `OnComplete`     |                  | _Callback that is called when an upload is completed_        |\n| `onDelete`            |      `OnDelete`      |                  | _Callback that is called when an upload is cancelled_        |\n| `onError`             |      `OnError`       |                  | _Customize error response_                                   |\n| `expiration`          | `ExpirationOptions`  |                  | _Configuring the cleanup of abandoned and completed uploads_ |\n| `logger`              |       `Logger`       |                  | _Custom logger injection_                                    |\n| `logLevel`            |      `LogLevel`      |     `\"none\"`     | _Set built-in logger severity level_                         |\n\n## Environment Variables\n\n`UPLOADX_SECRET` - Secret for salting file/user IDs (set to random string in production).\n\n## Contributing\n\nIf you'd like to contribute, please fork the repository and make changes as you'd like.\nPull requests are welcome!\n\n## License\n\n[MIT](LICENSE)\n\n[npm-image]: https://img.shields.io/npm/v/node-uploadx.svg\n[npm-url]: https://www.npmjs.com/package/node-uploadx\n[gha-image]: https://github.com/kukhariev/node-uploadx/actions/workflows/test.yml/badge.svg\n[gha-url]: https://github.com/kukhariev/node-uploadx/actions/workflows/test.yml\n[comm-image]: https://img.shields.io/github/commits-since/kukhariev/node-uploadx/latest\n[comm-url]: https://github.com/kukhariev/node-uploadx/releases/latest\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkukhariev%2Fnode-uploadx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkukhariev%2Fnode-uploadx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkukhariev%2Fnode-uploadx/lists"}