
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Save precious system resources by creating lazy network services that are only spawned when required.
Slacker listens for arbitrary TCP connections on behalf of your resource hungry processes, allowing them to remain dormant until required.
When a request for that service comes in, slacker buffers the request, boots the service if it is not already running, and forwards the connection to the service; this is only feasible because node processes boot reasonably quickly (<10ms).
After a specified timeout, if all the connections are closed and there are no new connections, slacker will shutdown/terminate the worker process, until the next request for it arrives.
Slacker should support any protocol built on top of TCP, such as HTTP, MQTT and WebSockets.
var slacker = require('slacker')
slacker(__dirname + '/some-http-service.js') // service to forward requests to
.timeout(10000) // service will be shut down after 10s of no active connections (default)
.listen(9000, function(err, port) { // listen on port 9000
if (err) return console.error(err)
console.log('slacker listening on %d', port)
})
If you have a process or number of processes that need to respond to network events but consume an unsustainable amount of system resources while they are running, it is efficient to simply shut these services down while they are not required!
Node doesn't currently have a non-hacky, reliable mechnism for unloading modules
from memory, and this is ok, because there's a good workaround: The easiest
way to clean up memory and prevent unnecessary idle work is to just isolate
that work to a process and kill it when it is no longer required. This
is the job of slacker.
Normally, slacker can deduce what port your worker is listening on but if you're using node < 0.9.2 this feature, mean you must manually have your worker tell the slacker process what port it's listening on:
//In the app you want spawned by slacker
var app = http.createServer()
app.listen(function() {
process.send && process.send(app.address()) // Node < 0.9.2 support
})
If you're using node 0.9.2 and above, you do not need to do this.
MIT
FAQs
Boot services only when needed, otherwise go back to bed.
The npm package slacker receives a total of 19 weekly downloads. As such, slacker popularity was classified as not popular.
We found that slacker 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.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.