New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@discordjs/opus

Package Overview
Dependencies
Maintainers
2
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@discordjs/opus

Opus bindings for Node

  • 0.10.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
11K
increased by3.79%
Maintainers
2
Weekly downloads
 
Created
Source

@discordjs/opus Build Prebuild

Native bindings to libopus v1.3

Usage

const { OpusEncoder } = require('@discordjs/opus');

// Create the encoder.
// Specify 48kHz sampling rate and 2 channel size.
const encoder = new OpusEncoder(48000, 2);

// Encode and decode.
const encoded = encoder.encode(buffer);
const decoded = encoder.decode(encoded);

Platform support

⚠ Node.js 12.0.0 or newer is required.

  • Linux x64 & ia32
  • Linux arm (RPi 1 & 2)
  • Linux arm64 (RPi 3)
  • macOS x64
  • macOS arm64
  • Windows x64

Keywords

FAQs

Package last updated on 25 Jan 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc