Product
Introducing Java Support in Socket
We're excited to announce that Socket now supports the Java programming language.
collections
Advanced tools
Collection is a utility for representing and manipulating collections for nodejs.
var TreeMap = require('src/collection').TreeMap;
// define compare function
function compareFunc(k1, k2) {
return k1 - k2;
}
var treemap = new TreeMap(compareFunc);
treemap.put(1101, {value: "This is a test blob."});
console.log(treemap.get(1101));
var submap = treemap.tailMap(1000, false);
console.log(submap.get(1101));
FAQs
data structures with idiomatic JavaScript collection interfaces
The npm package collections receives a total of 22,878 weekly downloads. As such, collections popularity was classified as popular.
We found that collections demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 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.
Product
We're excited to announce that Socket now supports the Java programming language.
Security News
Socket detected a malicious Python package impersonating a popular browser cookie library to steal passwords, screenshots, webcam images, and Discord tokens.
Security News
Deno 2.0 is now available with enhanced package management, full Node.js and npm compatibility, improved performance, and support for major JavaScript frameworks.