
Security News
arXiv Is Rate Limiting Authors Following a Flood of AI Slop Submissions
arXiv now limits authors to two submissions a month as AI slop overwhelms moderators, delays good papers, and sparks debate over applying the limit to everyone.
Official zero-dependency Node.js and TypeScript client SDK for MergenDB - the ultra-compact, columnar embedded database engine.
The official zero-dependency Node.js and TypeScript client SDK for MergenDB — engineered for high-throughput columnar analytics, embedded edge backends, and unified AI vector embedding similarity search.
MergenDB Node.js SDK v1.0.0 is built to bring enterprise-grade analytical SQL and neural vector search into the JavaScript/TypeScript ecosystem without pulling in heavy native bindings, node-gyp builds, or gigabytes of external binaries.
VECTOR columns with JavaScript Array<number> or Float32Array.table.vectorSearch): Execute nearest-neighbor searches using Cosine, Euclidean (L2), Dot Product, or Manhattan distance.filter: "category = 'AI'") with vector similarity in a single network round-trip.http, https, fs, path, url). Zero node_modules required in production.db.sql): Safe, parameterized analytical SQL queries with intuitive template strings.[+], [-], [*], [!]).npm install mergendb
Or using yarn / pnpm:
yarn add mergendb
# or
pnpm add mergendb
import { MergenDB } from 'mergendb';
// Connect to MergenDB server (or automatically spawn local headless daemon)
const db = new MergenDB({
host: '127.0.0.1',
port: 8765,
autoStart: true // auto-spawns background database daemon if not running
});
await db.ping();
console.log('[+] Connected to MergenDB v1.0.0');
const telemetry = db.table('iot_knowledge_base');
await telemetry.create([
{ name: 'doc_id', type: 'INT32' },
{ name: 'title', type: 'STRING' },
{ name: 'category', type: 'STRING' },
{ name: 'embedding', type: 'VECTOR' }
]);
// Insert documents with float vectors
await telemetry.insert([
{ doc_id: 1, title: 'Attention Is All You Need', category: 'AI', embedding: [0.95, 0.1, 0.05] },
{ doc_id: 2, title: 'General Relativity', category: 'Physics', embedding: [0.82, 0.2, 0.15] },
{ doc_id: 3, title: 'French Culinary Arts', category: 'Cooking', embedding: [0.05, 0.9, 0.1] }
]);
Perform top-K nearest-neighbor similarity searches using the intuitive vectorSearch API:
const results = await telemetry.vectorSearch('embedding', [1.0, 0.0, 0.0], {
topK: 2,
filter: "category = 'AI'",
metric: 'cosine' // 'cosine', 'l2', 'dot', 'manhattan'
});
for (const row of results) {
console.log(`[+] Document: ${row.title} | Score: ${row.score.toFixed(4)}`);
}
Execute standard SQL with native mathematical vector functions directly in Node.js:
const minScore = 0.8;
const targetVector = [1.0, 0.0, 0.0];
const queryRes = await db.sql`
SELECT doc_id, title, cosine_similarity(embedding, ${targetVector}) AS score
FROM iot_knowledge_base
WHERE category = 'AI'
ORDER BY score DESC
LIMIT 5;
`;
console.log(queryRes.toObjects());
The Node.js package includes a global and local CLI runner (mergendb or npx mergendb):
# Check database server health
npx mergendb status
# Run SQL query from terminal
npx mergendb query "SELECT title, score FROM iot_knowledge_base"
# Benchmark hardware and scan throughput
npx mergendb benchmark
Full TypeScript definitions are bundled in the package (index.d.ts), providing complete autocompletion and type inference for TableHandle, DatabaseHandle, QueryResult, and query builder interfaces.
Distributed under the MIT License. See LICENSE for details.
FAQs
Official zero-dependency Node.js and TypeScript client SDK for MergenDB - the ultra-compact, columnar embedded database engine.
The npm package mergendb receives a total of 1,496 weekly downloads. As such, mergendb popularity was classified as popular.
We found that mergendb demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
arXiv now limits authors to two submissions a month as AI slop overwhelms moderators, delays good papers, and sparks debate over applying the limit to everyone.

Research
/Security News
A new GhostAction wave hits hundreds of GitHub repos, expanding CI/CD secret theft to cloud and AI credentials in source code and git history.

Research
/Security News
Tensorlake npm SDK version 0.5.144 was compromised in a ChainDrop / Shai-Hulud attack, delivering credential-stealing malware.