
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
A package to provide http interface for a basic queue based on actor model.
Queue-Port is a library is a HTTP based server that can be used to manage queues based on Actor Model You can enqueue items to the queue you named and dequeue how many items you want from the queue immediately, indefinitely or after a certain time. Many clients can request to dequeue items from the queue at the same time. First come first served. Queues are FIFO (First In First Out), which means that the first item added to the queue will be the first one to be removed.
npm i -D queue-port
import * as queuePort from 'queue-port';
queuePort.start().then(() => {
console.log('Queue-Port is running');
}).catch((err) => {
console.error('Error starting Queue-Port:', err);
})
Default Port is 8765.
start function receives an object with the following properties:
port: Port to run the server. Default is 8765.enableDashboardServer: Enable the dashboard server. Default is false.dashboardServerPort: Port to run the dashboard server. Default is 8760.If you enable the dashboard server, you can access it at http://localhost:8760, and check the queues and waiters on a basic web interface.
One you run the server, you will be able to do the following operations via HTTP requests:
Example Request:
curl --location 'http://localhost:8765/enqueue/myqueue' \
--header 'Content-Type: application/json' \
--data '{
"items": ["item1", "item2", "item3"]
}'
Response:
Enqueued
Example Request:
curl --location 'http://localhost:8765/dequeue/myqueue' \
--header 'Content-Type: application/json' \
--data '{
"count": 2,
"timeout": 0
}'
Response:
{
"items": ["item1", "item2"]
}
count: Number of items to dequeue. Default is 1.timeout: Time to wait for items to be available in the queue. Default is -1 (indefinite).
Example Request:
curl --location --request GET 'http://localhost:8765/size/myqueue'
Response:
{
"size": 1
}
FAQs
A package to provide http interface for a basic queue based on actor model.
We found that queue-port demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.