File upload client for Visual Studio App Center Distribute, used to upload release binaries to App Center. Current stable version is 1.2.12 (part of appcenter-cli ecosystem). The library slices a binary into 4MB chunks and uploads them in parallel for faster uploads on high-latency connections, with per-chunk retry. Internal dependency for appcenter-cli; not intended for direct use. Ships TypeScript types. Release cadence tied to appcenter-cli (v2.x, v3.x). Differentiator: parallel chunked upload vs single-stream alternatives.
npm install appcenter-file-upload-client-nodeVerified import paths — ran on the pinned version, not inferred.
Shows how to upload a binary file to App Center using the upload function with necessary parameters and environment variable for token.
Update Node.js to v14 or later.
If you depend on internal types, update to use @azure/storage-blob types.
This is an internal change; no action required unless you relied on VM2.
Always include `destinations` array with at least one element (e.g., `[{name: 'Collaborators'}]`).Pass plain text release notes.
Ensure you are using Node 14+ and install the package with npm install appcenter-file-upload-client-node, which will pull node-fetch automatically. If using Node 18+ with ESM, node-fetch v3 may be required; consider setting type: 'module' or force resolution.
Always provide destinations as an array, e.g., destinations: [{name: 'Collaborators', isNotifyTesters: true}].Regenerate a new token from App Center settings and ensure it is passed correctly in the `token` option (or set as APPCENTER_TOKEN environment variable).
Ensure `asset.path` is an absolute or relative path to an existing binary file.