Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
namastey-double-ended-queue
Advanced tools
A JavaScript package that implements the Double-ended Queue (Deque) data structure with various important methods for efficient data handling.
namastey-double-ended-queue
is a JavaScript package that implements a Double-ended Queue (Deque) data structure. It provides methods to efficiently add and remove elements from both ends of the queue.
To install the package globally, run:
npm install -g namastey-double-ended-queue
const Deque = require('namastey-double-ended-queue');
const deque = new Deque();
deque.addFront(10);
deque.addRear(20);
console.log(deque.peekFront()); // Output: 10
console.log(deque.peekRear()); // Output: 20
deque.addFront(5);
console.log(deque.removeRear()); // Output: 20
console.log(deque.removeFront()); // Output: 5
console.log(deque.getSize()); // Output: 1
FAQs
A JavaScript package that implements the Double-ended Queue (Deque) data structure with various important methods for efficient data handling.
The npm package namastey-double-ended-queue receives a total of 1 weekly downloads. As such, namastey-double-ended-queue popularity was classified as not popular.
We found that namastey-double-ended-queue demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.