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

@vitalsource/a11y-panel

v0.0.4

Published

Accessibility claims data in a standardized UI

Downloads

79

Readme

@vitalsource/a11y-panel

a11y-panel is a collaborative project designed to fetch and display accessibility claims in a standardized UI.

Getting Started

Set up nvm

If you aren't already using it, set up nvm, which manages per-project node/npm versions. It may be helpful to uninstall your global version to avoid accidental use.

Installation

Download

To install a11y-panel, run one of the following from the command line. Make sure to look at the output, and install any missing peer dependencies.

npm install @vitalsource/a11y-panel
# don't forget to install any missing peer dependencies!

or

yarn add @vitalsource/a11y-panel
# don't forget to install any missing peer dependencies!

Install Dependencies

npm ci

Run the dev server

npm start

This will start a local development launch page at http://localhost:8787

Usage

Module


import { a11yPanel } from '@vitalsource/a11y-panel';

// Options for rendering
const options = {
  vbid: '1234567890', //required
  locale: 'en-US', //optional - en-US fallback
  theme: 'ocean', //optional - ocean fallback
};

// Render A11yPanel Component
const panelHTML = a11yPanel(options);

// Insert a11y-panel into your application
return panelHTML;

Webview/IFrame


const prodURL = "https://a11y-panel.vitalsource.com";
const devURL = "https://a11y-panel-develop.vitalsource.com";

<iframe 
  src="${workerURL}?vbid=1234567890&locale=en-US&theme=ocean"
  width="100%" 
  height="100%" 
  frameborder="0" 
  allowfullscreen>
</iframe>

Contributing

If you'd like to help out with future updates, please see the contribution guidelines.

Reference

...

vst-ui-kit

vst-ui-kit has been transitioned to own standalone NPM Module @vitalsource/vst-ui-ki. No formal github repository has been created as of yet so please reach out to the Bookshelf Online / Otter Team for necessary changes.

What languages does A11yPanel support?

|Language|Long Code|Short Code| |-|-|-| | Arabic (Saudi Arabia) | ar-SA | ar | | Bulgarian (Bulgaria) | bg-BG | bg | | Catalan (Spain) | ca-ES | ca | | Czech (Czech Republic) | cs-CZ | cs | | Welsh (United Kingdom) | cy-GB | cy | | Danish (Denmark) | da-DK | da | | German (Germany) | de-DE | de | | Greek (Greece) | el-GR | el | | English (United Kingdom) | en-GB | en-GB | | English (United States) | en-US | en | | Spanish (Spain) | es-ES | es | | Spanish (Latin America) | es-LA | es-LA | | Spanish (Mexico) | es-MX | es-MX | | Finnish (Finland) | fi-FI | fi | | French (Canada) | fr-CA | fr-CA | | French (France) | fr-FR | fr | | Gaelic (Ireland) | ga-IE | ga | | Hebrew (Israel) | he-IL | he | | Hindi (India) | hi-IN | hi | | Hungarian (Hungary) | hu-HU | hu | | Icelandic (Iceland) | is-IS | is | | Italian (Italy) | it-IT | it | | Japanese (Japan) | ja-JP | ja | | Korean (Korea) | ko-KR | ko | | Norwegian (Norway) | nb-NO | nb | | Dutch (Netherlands) | nl-NL | nl | | Polish (Poland) | pl-PL | pl | | Portuguese (Brazil) | pt-BR | pt-BR | | Portuguese (Portugal) | pt-PT | pt | | Romanian (Romania) | ro-RO | ro | | Russian (Russia) | ru-RU | ru | | Swedish (Sweden) | sv-SE | sv | | Thai (Thailand) | th-TH | th | | Tagalog (Philippines) | tl-PH | tl | | Turkish (Turkey) | tr-TR | tr | | Vietnamese (Viet Nam) | vi-VN | vi | | Chinese (Simplified) | zh-CN | zh | | Chinese (Traditional) | zh-TW | zh-TW |