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

grimm-user-pic

v1.0.8

Published

This is a module component with a slide selection for a user avatar picture

Downloads

6

Readme

Grimm-user-pic

This is my first release, if anyone ever sees this, please be kind

This is a vue component which handles an avatar selection with the use of vue-carousel by SSENSE. Inside the assets folder there are 6 .svg's, that are imported and build into the module, if you want to change the images you have to rebuild the module.

Grimm-user-pic also has a button to upload a custom image.

To install run

npm install grimm-user-pic --save

To import it inside a component use

import userpic from "grimm-user-pic";

Then you can simply use as such

<userpic />

IMPORTANT

I am still working on this, at this point to work properly the service used to upload the file must respond with the full url where the file is stored

Props

These are the props that are active at this point

  • :url : (string) This is the url where to upload the file, default is a empty string
  • :round : (boolean) Border radius of the image, if it's true the image is rounded, default is true
  • :background : (string) The color of the background, default is TRANSPARENT
  • :flat : (string) The style of the button, default is FALSE
  • :buttonColor : (string) The background-color of the button, default is "grey", you can use also gradient
  • :textColor : (string) The color of the button label, default is white
  • :navigationNextLabel : (string) NextArrow default is '▶'
  • :navigationPrevLabel : (string) PrevArrow default is '◀'

Events

Every time the value of the photo is changed the component emits an event called "input" with the url of the selected picture as payload