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

nypr-audio-services

v0.6.2

Published

NYPR audio services.

Downloads

26

Readme

nypr-audio-services

Maintainability Test Coverage

This repo is the home of all audio-related controls in use by the web-clients. It's mostly in the form of components, but there are also a handful of services used in the orchestration of responses to events triggered by ember-hifi.

components

  • listen-button
    • The primary UI widget through which users will start playback
    • Includes multiple variations that are controlled by a type parameter, which controls a set of CSS classes and inheritance
    • The bouncing animation is controlled by JS and based on a run-time measurement of the button's DOM dimensions
    • Includes a nested component which is configured to replace server-rendered HTML with an ember component
    • Includes a callback parameter called playButtonClickedAction to be invoked as a callback when listen-button is tapped when in a play (as opposed to pause) state.
  • queue-button
    • The primary UI widget for adding and removing a piece of audio to a local queue
  • player-notification
    • slide up notification bar used to display messages from the player
  • nypr-player-integration
    • translates property names from story and stream model attributes to unified keys that the player can consume
  • stream-banner
    • sophisticated UI widget to display and play stream objects and their metadata
  • clear-history
    • UI for the clearHistory method on the listen-history service
  • player-history
  • player-queue
  • queue-history
  • queue-listitem
  • text-crawl

services

  • dj
    • orchestrates play requests and fetches records if passed an id
  • action-queue
    • allows for event listeners to order up by priority and prevent subsequent listeners from running

Installation

$ npm i nypublicradio/nypr-audio-services
$ ember g nypr-audio-services

Development

  • git clone [email protected]:nypublicradio/nypr-audio-services
  • cd nypr-audio-services
  • npm install

Running

  • ember serve
  • Visit your app at http://localhost:4200. (this will just be a blank page since there are no templates or routes defined for the dummy app on this addon).

Running Tests

  • npm test (Runs ember try:each to test your addon against multiple Ember versions)
  • ember test
  • ember test --server

Building

  • ember build

For more information on using ember-cli, visit http://ember-cli.com/.

Publishing

This addon is published to npm using semver. See the wiki for more instructions.