
Security News
The Changelog Podcast: Practical Steps to Stay Safe on npm
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.
@acaprojects/a2-uploads
Advanced tools
This project is an Angular2 library for handling secure direct to cloud uploads that are managed by the Condominios project. At CoTag Media we use it to handle all of our file ingestion as it:
Effectively this project takes blob or file objects in the browser and
MD5_WORKER_BASE - this allows you to customise the path of the MD5 workerMD5Workers - these perform the hashing in webworkers and should only be instansitated onceHttp service and the MD5WorkersUploadManager and the storage providers you wish to use Amazon, Google, Azure, OpenStackUploadManager.addProvider(Amazon);You can now use the manager
this.manager = new UploadManager(http, '/uploads', workers);
this.manager.autoStart = true;
// ...
// Add files to the upload manager
// Files is an array of Blobs or Files -> https://developer.mozilla.org/en/docs/Web/API/File
this.manager.upload(files);
The project is written in typescript and transpiled into ES5.
npm install -g typescript (if you haven't already)tsconfig.jsontsc or build script belowYou can find more information here: https://github.com/Microsoft/TypeScript/wiki/tsconfig.json
npm run buildnpm run testpackage.json https://docs.npmjs.com/files/package.jsonnpm publish https://docs.npmjs.com/cli/publishMIT
FAQs
Angular 2 Interface for direct to cloud uploads
We found that @acaprojects/a2-uploads demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.

Security News
Ruby's creator Matz assumes control of RubyGems and Bundler repositories while former maintainers agree to step back and transfer all rights to end the dispute.