Datasquirel is a cloud-based SQL data management tool that provides a simple API for executing SQL queries and managing data over HTTPS. Version 2.0.0 supports SELECT, INSERT, UPDATE, DELETE operations via a RESTful interface, with separate read-only and full-access API keys. It requires an account at datasquirel.com and relies solely on server-side authentication. Compared to direct database drivers, Datasquirel abstracts away connection and infrastructure management, but adds latency and rate limits. The library is minimal, wrapping fetch-like calls, and does not support real-time queries or complex joins beyond standard SQL.
npm install datasquirelNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates read-only SELECT, INSERT, and image upload with both key types using CommonJS require.
Wrap SQL strings in an object: { action: 'select', sql: 'SELECT * FROM users' } or use the structured payload.Always use environment variables (process.env.KEY) and never hardcode keys in source code.
Ensure readonly keys are only used with datasquirel.get() and never with datasquirel.post().
Compress images before base64 encoding and consider chunked upload if available.
Use const datasquirel = require('datasquirel');Check that the key is set correctly and has the required access (readonly vs fullaccess).
Verify the database name slug (lowercase, underscores instead of spaces) and ensure it exists.
Check SQL syntax and ensure only SELECT is used with readonly key.
No dependency data recorded yet.