github-gist-database
Advanced tools
Comparing version
{ | ||
"name": "github-gist-database", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Unlimited GitHub Gist DB is a lightweight NoSQL database package for Node.js, designed to store JSON data in GitHub Gists, providing CRUD operations and more. Because it depends on the gists and Github says that you can create an unlimted gists and unlimited requests 🤑 for free.", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -18,20 +18,23 @@ <h1 align="center">Welcome to Github-Gist-DB 👋</h1> | ||
1. [Installation](#installation) | ||
2. [Usage](#usage) | ||
3. [Learn](#learn) | ||
* [Installation](#installation) | ||
* [Usage](#usage) | ||
* [Learn](#learn) | ||
* [Create Method](#CreateMethod) | ||
* [Find Many Method](#FindManyMethod) | ||
* [Find First Method](#findFirstMethod) | ||
* [Find By Id And Update Method](#findByIdAndUpdateMethod) | ||
* [Find One And Update Method](#findOneAndUpdateMethod) | ||
* [Find By Id And Delete Method](#findByIdAndDeleteMethod) | ||
* [Find One And Delete Method](#findOneAndDeleteMethod) | ||
* [Author](#author) | ||
* [ Contributing](#contributing) | ||
* [Show your support](#show-your-support) | ||
* [ License](#license) | ||
- [Create Method](#CreateMethod) | ||
- [FindMany Method ](#FindManyMethod) | ||
- [findFirst Method ](#findFirstMethod) | ||
- [findByIdAndUpdate Method ](#findByIdAndUpdateMethod) | ||
- [findOneAndUpdate Method ](#findOneAndUpdateMethod) | ||
- [findByIdAndDelete Method ](#findByIdAndDeleteMethod) | ||
- [findOneAndDelete Method ](#findOneAndDeleteMethod) | ||
4. [License](#license) | ||
<a name="installation"></a> | ||
<a name="installation"> | ||
<br/> | ||
<br/> | ||
</a> | ||
## Install | ||
@@ -43,8 +46,10 @@ | ||
<a name="usage"> | ||
<br/> | ||
## Usage <a name="usage"></a> | ||
<br/> | ||
<br/> | ||
</a> | ||
## Usage | ||
```typescript | ||
@@ -97,8 +102,10 @@ import { DB } from "github-gist-db"; | ||
<a name="learn"> | ||
<br/> | ||
## Learn <a name="learn"></a> | ||
<br/> | ||
<br/> | ||
</a> | ||
## Learn | ||
> First you have to define the Schema (the body of your database) | ||
@@ -173,6 +180,8 @@ | ||
<a name="CreateMethod"></a> | ||
<a name="CreateMethod"> | ||
<br/> | ||
<br/> | ||
</a> | ||
> Create Method | ||
@@ -196,6 +205,8 @@ | ||
``` | ||
<a name="FindManyMethod"></a> | ||
<a name="FindManyMethod"> | ||
<br/> | ||
<br/> | ||
</a> | ||
> FindMany Method | ||
@@ -224,6 +235,8 @@ | ||
``` | ||
<a name="findFirstMethod"></a> | ||
<a name="findFirstMethod"> | ||
<br/> | ||
<br/> | ||
<br/> | ||
</a> | ||
> findFirst Method | ||
@@ -253,6 +266,8 @@ | ||
<a name="findByIdAndUpdateMethod"></a> | ||
<a name="findByIdAndUpdateMethod"> | ||
<br/> | ||
<br/> | ||
</a> | ||
> findByIdAndUpdate Method | ||
@@ -288,6 +303,8 @@ | ||
<a name="findOneAndUpdateMethod"></a> | ||
<a name="findOneAndUpdateMethod"> | ||
<br/> | ||
<br/> | ||
<br/> | ||
</a> | ||
> findOneAndUpdate Method | ||
@@ -323,6 +340,8 @@ | ||
<a name="findByIdAndDeleteMethod"></a> | ||
<a name="findByIdAndDeleteMethod"> | ||
<br/> | ||
<br/> | ||
</a> | ||
> findByIdAndDelete Method | ||
@@ -352,7 +371,9 @@ | ||
> findOneAndDelete Method <a name="findOneAndDeleteMethod"> | ||
<br/> | ||
<br/> | ||
</a> | ||
> findOneAndDelete Method <a name="findOneAndDeleteMethod"></a> | ||
```typescript | ||
@@ -393,6 +414,8 @@ console.log( | ||
## 📝 License <a name="license"></a> | ||
## 📝 License <a name="license"> | ||
<br/> | ||
<br/> | ||
</a> | ||
Copyright © 2024 [Amer Eltahawy](https://github.com/tahawy111).<br /> | ||
@@ -399,0 +422,0 @@ This project is [MIT](https://github.com/tahawy111/github-gist-db/LICENSE) licensed. |
48515
0.3%414
5.88%