Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
play-sound
Advanced tools
Play sounds by shelling out to one of the available audio players.
npm install play-sound
var player = require('play-sound')(opts = {})
// $ mplayer foo.mp3
player.play('foo.mp3', function(err){
if (err) throw err
})
// { timeout: 300 } will be passed to child process
player.play('foo.mp3', { timeout: 300 }, function(err){
if (err) throw err
})
// configure arguments for executable if any
player.play('foo.mp3', { afplay: ['-v', 1 ] /* lower volume for afplay on OSX */ }, function(err){
if (err) throw err
})
// access the node child_process in case you need to kill it on demand
var audio = player.play('foo.mp3', function(err){
if (err && !err.killed) throw err
})
audio.kill()
players
– List of available audio players to check. Default:
player
– Audio player to use (skips availability checks)MIT
FAQs
Play audio files by shelling out to available audio tool.
The npm package play-sound receives a total of 7,538 weekly downloads. As such, play-sound popularity was classified as popular.
We found that play-sound demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
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.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.