New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

cortexdb

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cortexdb

Official TypeScript client for CortexDB.

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

CortexDB TypeScript Client

Official TypeScript client for CortexDB.

Installation

npm install cortexdb

Usage

import { CortexDB } from 'cortexdb';

const db = new CortexDB();
await db.authenticate('username', 'password');
db.use('namespace', 'database');
const result = await db.sql('SELECT * FROM users');
console.log(result.data);

API Reference

  • authenticate(username, password) – Authenticate and get JWT token
  • use(namespace, database) – Set namespace and database
  • set(mode) – Set query mode ('sql' or 'ai')
  • query(queryString) – Execute query
  • sql(queryString) – Execute SQL query
  • ai(queryString) – Execute AI query

Author

Satadeep Dasgupta satadeep.dasgupta@brainiuminfotech.com

License

MIT

Keywords

cortexdb

FAQs

Package last updated on 22 Aug 2025

Did you know?

Socket

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.

Install

Related posts