
Security News
CVE Volume Surges Past 48,000 in 2025 as WordPress Plugin Ecosystem Drives Growth
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.
airplay-server
Advanced tools
An extendable and thin AirPlay server.
This module is a thin AirPlay server that you can use to easily implement your own AirPlay functionality. By it self it doesn't do anything else than expose it self on the network as an AirPlay server. All requests to the server is sent to listeners that you attach to the airplay server by listening for the "request" event.
You can see a very simpel implemenation example under examples/server.js.
I'm currently working on a more full fleshed and usable AirPlay server implementation in the AirServer project, but it's currently a work in progress.
Please note that some AirPlay clients expects a RAOP server (AirTunes) to be running on the network with the same name as the AirPlay server. In case you need a RAOP server, please consider the raop-server project.
npm install airplay-server
var airplay = require('airplay-server')('My AirPlay Server')
airplay.on('request', function (req, res) {
// do your stuff
})
airplay.listen(5000) // start server on port 5000
Get the constructor by requireing the airplay-server node module and
call it. It takes the optional arguments name, options and
onRequest. Either of them can be left out, so calling with only
options or only name and onRequest is ok:
require('airplay-server')(name, options, onRequest)
Constructor arguments:
name - name of the AirPlay server (default: 'Node.js')options - options object (default: {})onRequest - callback function called upon each request (default: No listener is added. Remember to manually listen on the request event)Options:
features - A features bit-mask (default: all features)txt - object used to replace stock TXT recordThe constructor returns a basic Node.js HTTP server, so remember to call
.listen() and optionally add a request event listener if one hasn't
been provided as an argument to the constructor.
MIT
FAQs
An AirPlay server
The npm package airplay-server receives a total of 2 weekly downloads. As such, airplay-server popularity was classified as not popular.
We found that airplay-server 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
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.

Security News
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.

Security News
Tailwind Labs laid off 75% of its engineering team after revenue dropped 80%, as LLMs redirect traffic away from documentation where developers discover paid products.