Package Exports
- @monkdb/monkdb
Readme
MonkDB TypeScript SDK
Welcome to the official TypeScript SDK for MonkDB, an AI-native database designed to handle diverse data workloads seamlessly. This SDK empowers developers to interact with MonkDB using TypeScript, leveraging its robust features for modern application development.โ
๐ Features
**๐ Time Series Data **: Efficiently store and analyze time-series data, enabling applications to process and query time-stamped information with ease.โ
๐ง Vector Data Integration: Manage and query vector data, facilitating operations like similarity searches and machine learning model integrations.โ
๐ Full-Text Search: Perform comprehensive text searches across your datasets, enhancing the retrieval of relevant information through advanced indexing and querying capabilities.โ
๐ Geospatial Queries: Execute complex geospatial queries to handle location-based data, supporting applications that require spatial analysis and mapping functionalities.โ
๐ฆ Blob Storage: Store and retrieve binary large objects (BLOBs), allowing for the management of multimedia files, documents, and other large data types within the database.โ
๐ Document Store with SQL Interface: Combine the flexibility of a document store with the power of SQL, providing a PGWire-compatible SQL interface for structured querying of unstructured data.
Streaming SQL- Run realtime/streaming data workloads to perform petabyte scale SQL analytics (realtime).
๐ฆ Installation
To install the MonkDB's TypeScript SDK, use npm or yarn:
npm install @monkdb/monkdbor
yarn add @monkdb/monkdb๐งช Usage
Here's a basic example of how to establish a connection to MonkDB and execute queries using the SDK:
import { MonkConnection } from '@monkdb/monkdb';
const connection = new MonkConnection({
servers: ['http://127.0.0.1:4200'],
username: 'your_username',
password: 'your_password',
});
const cursor = connection.cursor();
async function runQuery() {
await cursor.execute('SELECT * FROM your_table');
const results = cursor.fetchall();
console.log(results);
}
runQuery().catch(console.error).finally(() => {
cursor.close();
connection.close();
});๐ Documentation
Visit our tech documentation on how to execute use cases on MonkDB.
๐ License
This project is licensed under the Apache-2.0 License.
๐ค Support
For enterprise support or any inquiries, please contact us at ๐ง support@monkdb.com.