An independent Node.js SQL driver for CrateDB using the _sql endpoint REST API. Currently at version 3.0.0, it provides an async interface with conversion from rows to JSON entities, automatic SQL building from JSON, and BLOB support. Key differentiators include its lightweight, REST-based approach compared to the official CrateDB JDBC driver, and built-in support for CrateDB's BLOB storage.
npm install node-crateNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Connect to CrateDB on localhost:4200 and execute a quick query to list cluster nodes.
Replace .success(fn) with .then(fn) and .error(fn) with .catch(fn).
Upgrade Node.js to version 6.0.0 or higher.
Use manual SQL execution with placeholders for nested fields.
Use the CrateDB HTTP BLOB API directly if needed.
Consider using official CrateDB client if throughput is critical.
Run `npm install node-crate` and ensure require/import matches CJS or ESM pattern.
Use `const crate = require('node-crate');` or `import * as crate from 'node-crate';`Replace with .then().catch() promise chain.
Ensure CrateDB is started on localhost:4200, or adjust connection parameters.
No dependency data recorded yet.