npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

upload-utils-ui

v0.0.36

Published

`UploadUtilsUi` is a reusable Angular component library designed to simplify file upload functionality within Angular applications. It includes ready-to-use UI components, event handling, and integration options to help developers implement upload feature

Readme

📦 UploadUtilsUi

npm install upload-utils-ui

UploadUtilsUi is a reusable Angular component library designed to simplify file upload functionality within Angular applications. It includes ready-to-use UI components, event handling, and integration options to help developers implement upload features quickly and cleanly.

✅ Built with Angular CLI version 18.2.0


✨ Features

  • 📤 Upload files using a customizable upload component
  • 🎯 Emits events on completion for backend integration
  • 🧱 Easy to plug into any Angular app or enterprise project
  • ⚙️ CLI-friendly for component generation and scaffolding

🧩 Upload Component: BatchUploadManager

This component allows users to select and upload a file to a specified backend API. It emits an event upon successful upload so you can trigger any follow-up logic (like toast notifications or API syncing).

✅ Basic Usage

Add the component to your template:

<batch-upload-manager
  titleHeader="Upload"
  [uploadUrl]="'https://api.escuelajs.co/api/v1/files/upload'"
  (eventCompleted)="completed($event)">
</batch-upload-manager>

completed(event: any): void {
  console.log('Upload Completed:', event);
  // You can perform additional actions here
}


📥 Component Inputs
Input	    Type	Required	Description
titleHeader	string	✅ Yes	   The title displayed above the upload UI
uploadUrl	string	✅ Yes	   The backend endpoint URL to which files are uploaded

📤 Component Outputs
Output	        Type	Description
eventCompleted	any	    Emits when file upload is successfully completed

import { UploadUtilsUiModule } from 'upload-utils-ui';

@NgModule({
  imports: [
    UploadUtilsUiModule
  ]
})
export class AppModule { }

🎨 Global Styles Setup To apply the default styles used by the components (like layout, spacing, buttons, etc.), import the shared SCSS file into your Angular app’s global style file:

Option 1: For apps using SCSS\n In your src/styles.scss or src/styles.sass, add:\n ## @import '../node_modules/upload-utils-ui/src/lib/styles/global.common.scss';\n 📌 Make sure the path is correct relative to your root styles.scss file. You can also configure a style path\nalias in angular.json for cleaner imports.

Option 2: If using Angular CLI style preprocessor options\n You can also add this style in the angular.json file under the styles array:\n "styles": [ "src/styles.scss", "node_modules/upload-utils-ui/src/lib/styles/global.common.scss" ]\n This will ensure styles are globally available without needing to import in every component.