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

@calv.io.n/click-to-call

v0.3.0

Published

Click to call is **a button for your website** that allows your customers to make a call over VoIP without leaving the website.

Downloads

6

Readme

Click to call

Click to call is a button for your website that allows your customers to make a call over VoIP without leaving the website.

Key features:

  • Call a Voximplant user / SIP address / phone number
  • You can dial an extention number after the call establishes
  • You can mute/unmute your microphone during the call
  • You can choose the microphone and test it by recording your voice and playing it back
  • You can see the connection status and quality

Screenshots

Connection Established call Microphone check Changing the microphone

How to use

The setup consists of two parts: VoxEngine cloud setup and the widget's source code setup.

VoxEngine setup

Follow the instruction to set up the cloud part before you download the source code.

Application setup

  1. Download the widget repository
  2. Run yarn install or npm install in the widget directory
  3. Rename the .env.example file to .env
  4. In the .env file:
    • Fill your user credentials into the VUE_APP_USER and VUE_APP_PASSWORD properties
    • Add the number to call to the VUE_APP_NUMBER property
    • Fill the testmic string to the VUE_APP_TEST_NUMBER property
  5. Run yarn serve or npm run serve to run the development build
  6. Open the http://localhost:8080/ URL to test the application
  7. Once the application works correctly, you can assemble the application
  8. If you do not plan to upload the application to the webserver root folder, set up the publicPath property in the vue.config.js file. See the instruction
  9. To make a production build, run yarn build or npm run build
  10. The dist directory will contain the production build ready to upload to the server.

Folder descriptions

  • public — Project's static materials, such as favicon and the index.html template, where you can add any additional code, such as action counters
  • src — Click-to-call project code
    • assets — Assets: images and sounds
    • components — Application source code
    • router — Application routing files
    • views — Application pages: Home.vue is the default page, Button.vue is the button page to be placed on the website

Miscellaneous

  • The get parameters starting with x- are sent as headers to the VoxEngine scenario
  • You can see the widget example in new window at: http://localhost:8080/button