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

gaad-widget

v3.5.0

Published

Display a banner-link to promote Global Accessibility Awareness Day (GAAD). Display the banner for a period before and after the day. Via unpkg CDN.

Downloads

218

Readme

Node.js CI

GitLab pipeline status js-semistandard-style GAAD-widget - on Npmjs License Total downloads - on NPMJS Size of Javascript Vulnerability test Accessibility test - GAAD passes gaad-widget - on UNPKG

gaad-widget

Display a banner-link to promote Global Accessibility Awareness Day (GAAD). The banner displays for a configurable period before and after the day, and the emphasis is on easy site-integration, via a CDN.

Global Accessibility Awareness Day

Join us on Thursday, May 16 2019 and mark the eighth Global Accessibility Awareness Day (GAAD). The purpose of GAAD is to get everyone talking, thinking and learning about digital (web, software, mobile, etc.) access/inclusion and people with different disabilities.

Read the blog post. Built on Datejs (API).

Note ~ this is not an official widget!

Original Gist.

Release notes

Features

Install and test

npm i gaad-widget
npm run build
npm test

Usage

Via unpkgbrowse — production CDN:

<div id="id-gaad-widget"></div>

<script src="https://unpkg.com/gaad-widget@^3#"></script>

Local hosting:

<div id="id-gaad-widget"></div>

<script src="dist/gaad-widget.js" ></script>

See the list of default configuration options.

Setting the days_before option:

<div id="id-gaad-widget"></div>

<script src="dist/gaad-widget.js" data-gaad-widget='{ "days_before": 20 }'></script>

Setting several configuration options:

<div id="custom_id"></div>

<script
  src="dist/gaad-widget.js"
  data-gaad-widget='{ "id": "custom_id", "days_after": 10, "theme": "black", "debug": true }'
  ></script>

Analytics

Anonymous usage statistics via Google Analytics is being added for version 3.2+ (> 3.1.0). It will be enabled by default, and can be disabled thus:

<div id="id-gaad-widget"></div>

<script src="dist/gaad-widget.js" data-gaad-widget='{ "analytics": null }'></script>

Translation

Please help with translating gaad-widget into your language!

Français (French):

<div id="id-gaad-widget"></div>

<script src="dist/gaad-widget.js" data-gaad-widget='{ "lang": "fr" }' ></script>

WordPress

A plugin for WordPress.

License

License: MIT.

Twitter: @nfreear, @gbla11yday.

See the related isad-widget.