
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Query your local network for Apple TV's or other AirPlay video compatible devices and have them play videos.
For programmatic use, install using:
npm install airplayer --save
Or install globally to use via the command line:
npm install airplayer --global
var airplayer = require('airplayer')
var list = airplayer()
list.on('update', function (player) {
console.log('Found new AirPlay device:', player.name)
player.play(url)
})
If you install the module gobally, simply run the airplayer
command
with the file you want to play as the first argument.
The airplayer
command will look for an Apple TV on your local network.
When one is found, it will start playing the chosen video. Use the
option -i
to select the Apple TV to stream to.
$ airplayer my-video.m4v
Note that the video must be in a format supported by your Apple TV in
order for airplayer
to play it.
var list = airplayer()
Creates a AirPlay list. When creating a new list it will call
list.update()
once. It is up to you to call afterwards incase you want
to update the list.
list.update()
Updates the player list by querying the local network for airplay
instances.
list.destroy()
Stop browsing for players.
list.on('update', player)
Emitted when a new player is found on the local network.
The player
is an instance of
airplay-protocol
with
the following extra properties:
name
- The human readable name of the AirPlay deviceMIT
FAQs
Query your local network for Apple TV's and have them play videos
The npm package airplayer receives a total of 139 weekly downloads. As such, airplayer popularity was classified as not popular.
We found that airplayer demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.