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

@agentuity/db

Package Overview
Dependencies
Maintainers
3
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@agentuity/db

latest
npmnpm
Version
2.0.11
Version published
Weekly downloads
268
-60.88%
Maintainers
3
Weekly downloads
 
Created
Source

@agentuity/db

A standalone package for the Agentuity Database service.

Installation

npm install @agentuity/db

Quick Start

import { DBClient } from '@agentuity/db';

const client = new DBClient();

// Query the database
const result = await client.query('SELECT * FROM users LIMIT 10');
for (const row of result.rows) {
  console.log(row);
}

// Get table schemas
const tables = await client.tables();
for (const table of tables) {
  console.log(`${table.name}: ${table.columns.length} columns`);
}

// View query logs
const logs = await client.logs({ limit: 100 });
for (const log of logs.logs) {
  console.log(`${log.query}: ${log.duration}ms`);
}

Configuration

const client = new DBClient({
  apiKey: 'your-api-key',
  url: 'https://api.agentuity.com',
});

Environment Variables

VariableDescriptionDefault
AGENTUITY_SDK_KEYAPI key for authenticationRequired
AGENTUITY_REGIONRegion for API endpointsusc
AGENTUITY_DB_URLOverride DB API URLAuto-detected

License

Apache-2.0

FAQs

Package last updated on 08 Apr 2026

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