Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@hypermedialabs/uploader
Advanced tools
Client Uploader is a powerful, flexible TypeScript library designed to streamline the process of uploading videos to your hypermedia account.
Hypermedia is a web3-based video hosting platform designed for creators and businesses. It simplifies the process of hosting and sharing HD videos, catering to a growing community of users. The platform emphasizes ease of use, allowing users to quickly upload videos either directly or via links from social media sites. It distinguishes itself by providing an ad-free experience, especially beneficial for businesses seeking to organize and present their content without distractions. Hypermedia also offers free video uploads, appealing to a wide range of users from individual creators to larger businesses.
Client Uploader is a library for handling media file uploads in web applications. Integrating Uppy and tus-js-client, this library simplifies the process of uploading files to your server and provides extensive customization and callback options.
Install Client Uploader via npm:
npm install @hypermedialabs/uploader
or
yarn add @hypermedialabs/uploader
First, import the HypermediaUploader function:
import HypermediaUploader from '@hypermedialabs/uploader';
Then, implement the uploader in your application:
const { uploader } = new HypermediaUploader(endpoint, options);
function handleChange(event) {
// Get the file from the event
const files = event.target.files[0];
// Add the file to the uploader
// `addFiles` is a method from Uppy
uploader.addFiles(files);
}
HypermediaUploader(endpoint, options)
Additionally, you have access to all the events from Uppy. You can read more about them in the Uppy Events documentation.
Contributions to Client Uploader are welcome! Please read Contributing for details.
All contributors are expected to adhere to the project's Code of Conduct. Please read Code of Conduct before contributing.
Client Uploader is MIT licensed.
FAQs
Client Uploader is a powerful, flexible TypeScript library designed to streamline the process of uploading videos to your hypermedia account.
The npm package @hypermedialabs/uploader receives a total of 16 weekly downloads. As such, @hypermedialabs/uploader popularity was classified as not popular.
We found that @hypermedialabs/uploader demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.