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

@huluvu424242/honey-speaker

v0.0.18

Published

Text to Speech component wich is reading texts from DOM elements.

Downloads

17

Readme

Build Status Github CI npm npm Published on webcomponents.org Donate with paypal Donate with crypto currency

honey-speaker

This component realize an speaker symbol button. Its can read a text of DOM elements referenced by an list of ids via voice.

installation

npm install --save honey-speaker

usage

<script 
    type="module" 
    src='https://unpkg.com/@huluvu424242/[email protected]/dist/honey-speaker/honey-speaker.js'>
</script>

To the demo site

Vision of API (under construction)

demo

<honey-speaker textids="text1,text2"></honey-speaker>
<p id="text1">fizz fizz fizz fizz</p>
<p id="text2">buzz buzz buzz buzz</p>

To the live demo

become an supporter

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

releaselog

v0.0.18 unpublished

  • bug and feature description

v0.0.18 published at 2020-11-22

  • issue 43 minor bugfixing and refactoring

v0.0.17 published at 2020-11-16

v0.0.16 published at 2020-11-15

  • issue 35 change host classes depends of disabled or enabled
  • issue 33 A11y config properties added
  • issue 32 sync method call and symbol fixed

v0.0.15 published at 2020-11-08

  • issue 26 method pause and resume added
  • issue 25 remove dependency of rxjs -> use fetch of es6
  • issue 24 remove subscription and use async/await pairs
  • issue 23 mutable attributes textids and texturl

v0.0.14 published at 2020-11-06

v0.0.13 published at 2020-11-06

  • initializing of voices fixed
  • issue 2 e2e tests fixed
  • css support of ::part removed (to complex for end user)
  • a11y: tabindex=0, keydown: space and enter, role="button", alt text, svg role="img"
  • speaker realized as toggle button
  • custom css attribute names changed

v0.0.12 published at 2020-02-29

  • docu and demo urls fixed

v0.0.11 published at 2020-02-29

  • support of voice parameter

v0.0.10 published at 2020-02-28

  • support for large texts added
  • defined css variables supported
  • css ::part supported for speakerpane
  • svg embed - no extra assets needed
  • sizeable via css
  • color of background, stroke and fill css styleable
  • ident property computed from id attribute or random if absent
  • example added
  • stencil/core removed from bundle again (no storybook support at now)

v0.0.9 published at 2020-02-23

  • stencil/core added to bundle

v0.0.8

  • readme updated
  • icon color blue
  • background color attribute added

v0.0.7

  • first working version with icon.
  • support of id list of speaker texts.

v0.0.2 - v0.0.6

  • try to publish assets with component to npmjs.com but failed.

v0.0.1

  • setup project based at https://github.com/ionic-team/stencil-component-starter rating-stencil-component

internet links

  • https://auth0.com/blog/creating-web-components-with-stencil/
  • https://www.twilio.com/blog/2018/02/creating-and-publishing-web-components-with-stencil.html
  • https://stenciljs.com/docs/introduction
  • https://css-tricks.com/styling-a-web-component/
  • https://meowni.ca/posts/part-theme-explainer/

warranty

no warranty

license

MIT License

technology used

browser support

Web Speech API

Firefox

Maybe you must via about:config set media.webspeech.synth.enabled to true

Generell

Custom Elements

CSS Custom Properties

Shadow Parts

Firefox

Maybe you must via about:config set the layout.css.shadow-parts.enabled to true.

Generell