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 🙏

© 2024 – Pkg Stats / Ryan Hefner

uppload-beta

v2.0.0-beta.4

Published

Uppload is a JavaScript widget for better file uploading on the web.

Downloads

17

Readme

🖼️ Uppload

Uppload 1.x

This README is for the upcoming TypeScript rewrite of Uppload, releasing in December 2019.

You can view the README of Uppload 1.x, the current stable version, in the master branch.

Uppload 2

Uppload 2 is the upcoming major update to Uppload, El Niño's JavaScript file uploading widget with 15+ ways to select images. It's written in TypeScript and supports custom builds.

| | Status | | - | - | | Build | Travis CI Circle CI Azure Pipelines | | Dependencies | Dependencies Dev dependencies Vulnerabilities | | Documentation | Netlify Website status Uptime Articles | | Community | Contributors GitHub Type definitions npm package version |

View Uppload 2 docs →

View live demo →

⭐ Features

  • Drag and drop to upload file
  • Import image from web services (URL, Instagram, Facebook, etc.)
  • Search for pictures and import (Unsplash, Pexels, Pixabay)
  • Edit photo before uploading (filters, crop, rotate, etc.)
  • All file uploading backends supported
  • Works with all modern browsers (IE 11+)

🛠 Getting started

First, install Uppload using your package manager:

npm install uppload

Then, add styles, import Uppload and an uploader along with your language of choice and initialize the class:

import { Uppload, en, xhrUploader } from "uppload";
import "uppload/dist/uppload.css";
import "uppload/dist/themes/light.css";

const profilePicture = new Uppload({
  value: "https://via.placeholder.com/150",
  bind: ".uppload-image",
  call: ".uppload-button",
  lang: en,
  uploader: xhrUploader({
    endpoint: "https://example.com/upload"
  });
});

Finally, choose which services (ways to select a file), effects (ways to manipulate a file), and uploaders (ways to send the file to a server) you want. Then, import these classes and use the Uppload.use() function to create your package:

import { Uppload, en, Local, Unsplash, Crop, Filters } from "uppload";

profilePicture.use([
  new Local(),                        // Select file from computer
  new Unsplash("your api-key"),       // Search and import from Unsplash
  new Crop(16 / 9),                   // Let users crop image to 16:9
  new Filters()                       // Let users apply image filters
]);

💻 Usage Docs

View Uppload 2 docs →

🛣️ Roadmap

  • [ ] Services
    • [ ] Click photo from camera
  • [ ] Effects
    • [ ] Instagram-like filters
    • [ ] Rotation, mirror
  • [ ] Documentation
    • [ ] TypeDoc for exploring packages and interfaces
    • [ ] Docs to show people how to upload to:
      • [ ] AWS S3 bucket
      • [ ] Firebase
      • [ ] Upload to web service like Imgur
    • [ ] Docs to people how to use Uppload with frameworks:
      • [ ] Vue.js
      • [ ] React
      • [ ] Angular
      • [ ] Ember.js

👥 Contributors

Thanks goes to these wonderful people (emoji key):

This project follows the all-contributors specification. Contributions of any kind welcome!

📄 License