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

dbi-pearl-ui-kit

v1.0.707

Published

UI Kit for Pearl Application

Downloads

356

Readme

Getting Started with Pearl UI Kit

To develop locally:

  • Run npm link ../dbi-pearl-vendor-app/node_modules/react from the root of this library. (replace dbi-pearl-vendor-app with what ever app you are working on). This ensures you are using the same version and single version of React
  • Run npm run build
  • Copy package.json into the dist folder created by the build
  • Update dbi-pearl-ui-kit in package.json from the app directory to be file:../dbi-pearl-ui-kit/dist

.gif Converter

  • For best web practices, .gifs should be converted to video files before being added to the site.
  • An empty subtitle file (.vtt) should be included with the video file in the HTML.
  • The encoder used for gifs on this project is ffmpeg
    • Version used on original onboarding gifs: ffmpeg-n5.0-latest-win64-gpl-5.0
    • Latest versions: https://www.ffmpeg.org/download.html
    • Documentation: https://www.ffmpeg.org/ffmpeg.html#Video-Options
  • Graphics being used in the vendor and webstore app onboarding steps were converted from .gifs.
    • each encoded to .webm file
    • each .webm file plays its animation 3 times
      • -stream_loop controls this
      • this value may vary depending on how the gif was created
    • the output file size may need reduced during encoding
      • -crf controls this
  • Following commands used when encoding gifs for setup steps in vendor app:
    • Step 1, 2, 6: ffmpeg -stream_loop 2 -i Step-x.gif -c vp9 -b:v 0 -crf 41 Step-x.webm
    • Step 4, 5: ffmpeg -i Step-4_5.gif -c vp9 -b:v 0 -crf 41 Step-4_5.webm
    • Step 7: ffmpeg -stream_loop 2 -i Step-7.gif -c vp9 -b:v 0 -crf 15 Step-7.webm
    • Step 8, 9:ffmpeg -stream_loop 2 -i Step-x.gif -c vp9 -b:v 0 -crf 35 Step-x.webm

Safari Support

Encode GIFs with transparency as .mov files with Alpha channels ffmpeg -stream_loop 2 -i Step-1.gif -c:v prores_ks -pix_fmt yuva444p10le -alpha_bits 16 -profile:v 4444 -f mov -vframes 150 Step-1.mov