paste.gg 1.0.4 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -3
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -4,17 +4,20 @@
|
|
|
4
4
|
<a href="https://www.npmjs.com/package/paste.gg"><img src="https://img.shields.io/npm/dt/paste.gg.svg?maxAge=3600" alt="NPM downloads" /></a>
|
|
5
5
|
<a href="https://github.com/SerenModz21/paste.gg/actions"><img src="https://github.com/SerenModz21/paste.gg/actions/workflows/codeql-analysis.yml/badge.svg" alt="Build status" /></a>
|
|
6
6
|
<a href="https://github.com/SerenModz21/paste.gg"><img src="https://img.shields.io/github/languages/code-size/SerenModz21/paste.gg" alt="GitHub code size"></a>
|
|
7
|
-
<
|
|
8
|
-
|
|
7
|
+
<br />
|
|
8
|
+
<p style="max-width: 600px">
|
|
9
|
+
A library for interacting with the Paste.GG API. I have created this in a short amount of time and will expect more updates in the future. The main purpose of this is to help users from having to create API calls.
|
|
9
10
|
</p>
|
|
10
11
|
</div>
|
|
11
12
|
|
|
13
|
+
|
|
12
14
|
### Links
|
|
13
15
|
|
|
14
16
|
• **[API Documentation](https://github.com/ascclemens/paste/blob/master/api.md#api)** <br/>
|
|
15
17
|
• **[GitHub](https://github.com/SerenModz21/paste.gg)** <br/>
|
|
16
18
|
• **[NPM](https://www.npmjs.com/package/paste.gg)** <br/>
|
|
17
19
|
|
|
20
|
+
|
|
18
21
|
### Usages
|
|
19
22
|
|
|
20
23
|
#### Install the stable version
|
|
@@ -93,7 +96,7 @@ await pasteGG.update("idHere", {
|
|
|
93
96
|
description: "new description"
|
|
94
97
|
})
|
|
95
98
|
```
|
|
96
|
-
<br/>
|
|
99
|
+
<br />
|
|
97
100
|
|
|
98
101
|
---
|
|
99
102
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "paste.gg",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "1.0.5",
|
|
4
|
+
"description": "An easy-to-use library for interacting with the Paste.GG API. Contains examples, strong JSDocs, TypeScript types, and support for Node.js 12+. Works in both JavaScript and TypeScript.",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"typings": "./typings/index.d.ts",
|
|
7
7
|
"license": "MIT",
|
|
@@ -22,10 +22,10 @@
|
|
|
22
22
|
"prepublishOnly": "yarn build"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"node-fetch": "
|
|
25
|
+
"node-fetch": "2.6.7"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@types/node": "^16.
|
|
28
|
+
"@types/node": "^16.6.1",
|
|
29
29
|
"@types/node-fetch": "^2.5.10",
|
|
30
30
|
"rimraf": "^3.0.2",
|
|
31
31
|
"typescript": "^4.3.5"
|