
Security News
Open Source CAI Framework Handles Pen Testing Tasks up to 3,600× Faster Than Humans
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
@guejs/adonisjs-cassandra
Advanced tools
AdonisJs provider for connect to Cassandra with two packages driver: cassandra-drive and cassanknex.
AdonisJs provider for connect to Cassandra with two packages driver: cassandra-drive and cassanknex.
adonis install @guejs/adonisjs-cassandra
or
npm install --save @guejs/adonisjs-cassandra
Make sure you register the provider inside start/app.js
file before making use cassandra.
const providers = [
'@guejs/adonisjs-cassandra/providers/CassandraProvider'
]
Once that done you can make use of Cassandra anywhere by importing the cassandra provider.
const Cassandra = use('Cassandra')
let query = ''
let params = []
await Cassandra.drive.execute(query, params, { prepare: true })
let qb = await Cassandra.knex('CASSANDRA_KEYSPACE')
qb.insert({
...
})
.into('table')
.exec({ prepare: true })
The config file config/cassandra.js
contains all the configuration. Feel free to tweak it as per your needs.
The configuration file makes use of Environment variables, make sure to define them for development and in production too
CASSANDRA_HOST=
CASSANDRA_HOST2=
CASSANDRA_PORT=
CASSANDRA_USERNAME=
CASSANDRA_PASSWORD=
CASSANDRA_KEYSPACE=
Special thanks to the creator(s) of AdonisJS for creating such a great framework.
FAQs
AdonisJs provider for connect to Cassandra with two packages driver: cassandra-drive and cassanknex.
The npm package @guejs/adonisjs-cassandra receives a total of 6 weekly downloads. As such, @guejs/adonisjs-cassandra popularity was classified as not popular.
We found that @guejs/adonisjs-cassandra 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.
Security News
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.
Security News
CVEForecast.org uses machine learning to project a record-breaking surge in vulnerability disclosures in 2025.