https://github.com/novqigarrix/disred-client
A DiSred Client to connect your Node.js Application to DiSred
https://github.com/novqigarrix/disred-client
Last synced: 25 days ago
JSON representation
A DiSred Client to connect your Node.js Application to DiSred
- Host: GitHub
- URL: https://github.com/novqigarrix/disred-client
- Owner: NovqiGarrix
- Created: 2022-07-07T04:07:17.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-07-07T18:04:03.000Z (almost 4 years ago)
- Last Synced: 2025-03-20T00:41:02.069Z (about 1 year ago)
- Language: TypeScript
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DiSred - Key-Value Memory Database
## DiSred Client - Connect your Node.js Application to your beloved DiSred memory Database.
This repository is DiSred Client repository. This client is use to fetch your data in DiSred Database Server.
## How to use
```typescript
import { DisredClient } from "@novqigarrix/disred-client";
const connectionURL = "http://localhost:9090?dbname=your_db_name";
const client = new DisredClient(connectionURL);
(async function () {
const alldata = await client.get_all();
console.log(alldata);
const data = await client.get("/key");
console.log(data);
})();
```
## That's it
Hope you find it usefull. Happy Coding [^^]