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 🙏

© 2026 – Pkg Stats / Ryan Hefner

manage-files-component

v0.0.1

Published

Put a description here

Readme

Manage Files Component

Manage Files Component is custom ReactJs Component created for Sterling Talent Solutions F1Portal.

Features!

  • Fully customizable and includes callback functions
  • Can be included in both Aurelia and ReactJs
  • Lightweight and reusable

This text you see here is actually written in Markdown! To get a feel for Markdown's syntax, type some text into the left window and watch the results in the right.

Tech

Manage File Component uses below mentioned Libraries/Frameworks to work properly:

Installation

Manage File Component requires Node.js to run.

$ npm i manage-files-component -s

Import Component in required file using below line

import ManageFilesComponent from 'manage-files-component';

Render the function and pass props to it as per your requirement

<ManageFilesComponent />

Prop Types and their default values

Manage File component has several prop types along with their default values

| Props Variable (Type) (Required) | Default Value | | ------ | ------ | | isPopup (boolean) (Optional) | false | | aureliaInstance (object) (Conditional) | NA | | calledFromAurelia (boolean) (Optional) | false | | isViewFilesSectionVisible (boolean) (Optional) | true | | titleTxt (string) (Optional) | Manage Files | | browseFileButtonLabel (string) (Optional) | Browse Files | | attachFileButtonLabel (string) (Optional) | Attach File | | viewAttachedFilesTxt (string) (Optional) | View Attached Files | | fileTypeLabelTxt (string) (Optional) | Select the type of file to attach | | browseFileAcceptType (string) (Optional) | .png, .jpe, .jpeg, .jpg, .gif, .bmp, .ico, .tiff, .tif, .svg, .svgz, .pdf, .txt, .zip, .doc, .docx, .xls, .xlsx, .dot, .html, .shtml, .txt, .text, .rtf | | docTypes (array) (Yes) | NA |

*NA - Not Applicable *Conditional - Required only if certain conditions are matched

Callbacks

Manage File Component provides below mentioned callback functions as proptypes which will be called on execution of their respective events:

  • formSubmitCallback - callback function will be called when form is submitted
  • validateFileCallback - callback function will be called whenever user selects new file to update. Callback function has to return boolean value so as to state if file is valid or not
  • hidePanelCallback - Called whenever hide panel button is clicked
  • viewAttachedFilesCallback - Called whenever view attached file link is clicked