
Product
Socket Now Supports pylock.toml Files
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.
cassandra-native-driver
Advanced tools
Node.js addon that wraps the DataStax C++ cassandra driver.
Functionally, this project is similar to [https://github.com/datastax/nodejs-driver] except that it offers better performance due to the fact that the protocol processing is performed in C++ and can thereby leverage other threads instead of just the main loop thread.
npm install cassandra-native-driver
var cassandra = require('cassandra-native-driver');
var client = new cassandra.Client(options);
client.connect({address: "10.0.0.1,10.0.0.2"}, function(err) {
var cql = "SELECT email from profile where username = ?";
client.execute(cql, 'joe', function(err, results) {
console.log('got email', results.rows[0]);
});
}
TBD...
The wrapper library and addon are licensed for distribution by the MIT License.
This repository also includes a copy of the DataStax C++ driver from https://github.com/datastax/cpp-driver which is covered by the Apache License.
This code has been slightly modified to include conditional compilation directives to enable it to be used within the context of a node.js addon.
FAQs
node.js addon for the the C++ native cassandra driver
The npm package cassandra-native-driver receives a total of 0 weekly downloads. As such, cassandra-native-driver popularity was classified as not popular.
We found that cassandra-native-driver 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.
Product
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.
Security News
Research
Socket uncovered two npm packages that register hidden HTTP endpoints to delete all files on command.
Research
Security News
Malicious Ruby gems typosquat Fastlane plugins to steal Telegram bot tokens, messages, and files, exploiting demand after Vietnam’s Telegram ban.