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 🙏

© 2026 – Pkg Stats / Ryan Hefner

@dyteinternals/callstats

v7.2.7

Published

An internal toolkit to obtain call statistic for Dyte meetings.

Readme

Table of Contents

About The Project

An internal toolkit to obtain call statistic for Dyte meetings.

Built With

  1. Typescript
  2. W3C WebRTC Stats

Installation

Using a Published Version

Make sure you have .npmrc in your project with github token that can access @dyte-in/dyte-callstats-toolkit package.

You can then install this package using the following command.

npm install @dyte-in/dyte-callstats-toolkit

or if using yarn:

yarn add @dyte-in/dyte-callstats-toolkit

Using a Local Version

If you want to use an unpublished local version, you need to reference it in your project's package.json using the file: protocol.

  1. Clone this repository
git clone [email protected]:dyte-in/dyte-callstats-toolkit.git
  1. Install dependencies
npm install
  1. Build a local version
npm run build
  1. Modify your projects's package.json to include this build:
"dependencies": {
  "@dyte-in/dyte-callstats-toolkit": "file:../../path-to-this-repo"
}

*ℹ️ Info You need to alter dependencies of your project and not THIS callstats-toolkit repo.

  1. Run the package manager in your project to install the dependency:
npm install

or

yarn install

Geting Started

  1. Clone the repo
git clone [email protected]:dyte-in/dyte-callstats-toolkit.git
  1. Install NPM packages
npm install
  1. Build the package
npm run build

To see usage of this repo, please refer to web-core codebase and look for callstats text.

All methods of this repository are exposed through Callstats Wrapper file.

Usage

  1. Import this private package
import { globalCallStats as callStats } from '@dyte-in/dyte-callstats-toolkit';
  1. Initialize callstats
  await callStats.initialize({
    peerId: 'UNIQUE_PEER_ID',
    engineName: 'blink'// browserSpecs.getDeviceInfo().engineName,
    env: 'prod', // context.getValue('env'),
    iceServers: [
      {
          "url": "stun:global.stun.twilio.com:3478",
          "urls": "stun:global.stun.twilio.com:3478"
      },
    ]// await APIClient.getICEServers(),
    apiBase: 'NOT_USED_ANYMORE', // context.getValue('apiBase'),
    flags: {} // flagsmith.getAllFlags(), from https://github.com/dyte-in/dyte-utils
    logger: console,
    apiHostnames: {
      location: 'location.dyte.io',
      locationLegacy: 'location-legacy.dyte.io',
      daCollector: 'da-collector.dyte.io',
    },
    skipConnectivityChecks: true,
  });
  1. Send the data to callstats-toolkit for it to relay eventually to da-callstats
callStats.audioOff();
callstats.audioOn();

There are more methods available in Callstats.

Roadmap

See the open issues for a list of proposed features (and known issues).

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'feat: Add some AmazingFeature')
  4. Push to the Branch (git push -u origin feature/AmazingFeature)
  5. Open a Pull Request

You are requested to follow the contribution guidelines specified in CONTRIBUTING.md while contributing to the project :smile:.

License

Distributed under the Apache v2.0 License. See LICENSE for more information.