Skip to content
This repository was archived by the owner on Jul 6, 2025. It is now read-only.

Commit 73acd3f

Browse files
committed
fix hash links in readme
1 parent 0969eee commit 73acd3f

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

README.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -52,21 +52,21 @@ Your Pastebin password.
5252

5353
### user
5454
The user the client logged in with, if it has.
55-
**Type: ?[ClientUser](##clientuser)**
55+
**Type: ?[ClientUser](#clientuser)**
5656

5757
### users
5858
All of the cached users.
59-
**Type: ?[UserStore](##userstore)**
59+
**Type: ?[UserStore](#userstore)**
6060

6161
### pastes
6262
All of the cached pastes.
63-
**Type: ?[PasteStore](##pastestore)**
63+
**Type: ?[PasteStore](#pastestore)**
6464

6565
### login()
6666
Login with the stored username and password and store the user key.
6767

6868
#### Returns
69-
**[Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[PastebinClient](##pastebinclient)>**
69+
**[Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[PastebinClient](#pastebinclient)>**
7070

7171
## PastebinError
7272
Thrown when there's an error related to the Pastebin API or pastebin.js.
@@ -111,7 +111,7 @@ new Paste(client, data)
111111

112112
### client
113113
The client used to get this paste.
114-
**Type: [PastebinClient](##pastebinclient)**
114+
**Type: [PastebinClient](#pastebinclient)**
115115

116116
### key
117117
The key of this paste.
@@ -127,7 +127,7 @@ The title of this paste.
127127

128128
### author
129129
The author of this paste.
130-
**Type: ?[User](##user)**
130+
**Type: ?[User](#user)**
131131

132132
### content
133133
The content of this paste.
@@ -165,13 +165,13 @@ The number of times anyone saw this paste.
165165
Fetch the content of this paste, and store it in the cache.
166166

167167
#### Returns
168-
**[Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[Paste](##paste)>**
168+
**[Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[Paste](#paste)>**
169169

170170
### delete()
171171
Delete this paste.
172172

173173
#### Returns
174-
**[Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[Paste](##paste)>**
174+
**[Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[Paste](#paste)>**
175175

176176
## User
177177
A Pastebin user.
@@ -189,7 +189,7 @@ new User(client, username)
189189

190190
### client
191191
The client used to get this user.
192-
**Type: [PastebinClient](##pastebinclient)**
192+
**Type: [PastebinClient](#pastebinclient)**
193193

194194
### username
195195
This user's username.
@@ -260,7 +260,7 @@ Whether this user is a PRO account.
260260

261261
### pastes
262262
All of this user's cached pastes.
263-
**Type: ?[UserPasteStore](##userpastestore)**
263+
**Type: ?[UserPasteStore](#userpastestore)**
264264

265265
## PasteStore *extends Map*
266266
A structure that holds all of the cached pastes.
@@ -278,7 +278,7 @@ new PasteStore(client, entries)
278278

279279
### client
280280
The client this store belongs to.
281-
**Type: [PastebinClient](##pastebinclient)**
281+
**Type: [PastebinClient](#pastebinclient)**
282282

283283
### fetch()
284284
Fetch a paste by its key, and store it in the cache.
@@ -289,7 +289,7 @@ Fetch a paste by its key, and store it in the cache.
289289
| key | The paste's key | string | |
290290

291291
#### Returns
292-
**[Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[Paste](##paste)>**
292+
**[Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[Paste](#paste)>**
293293

294294
### create()
295295
Create a paste, and store it in the cache.
@@ -305,7 +305,7 @@ Create a paste, and store it in the cache.
305305
| options.expiry | The paste's expiry time | string | `null` |
306306

307307
#### Returns
308-
**[Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[Paste](##paste)>**
308+
**[Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[Paste](#paste)>**
309309

310310
## UserStore
311311
A structure that holds all of the cached users.
@@ -323,7 +323,7 @@ new UserStore(client, entries)
323323

324324
### client
325325
The client this store belongs to.
326-
**Type: [PastebinClient](##pastebinclient)**
326+
**Type: [PastebinClient](#pastebinclient)**
327327

328328
### fetch()
329329
Fetch a user by their username, and store them in the cache.
@@ -334,7 +334,7 @@ Fetch a user by their username, and store them in the cache.
334334
| username | The user's username | PastebinClient | |
335335

336336
#### Returns
337-
**[Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[User](##user)>**
337+
**[Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[User](#user)>**
338338

339339
## UserPasteStore
340340
A structure that holds all of a user's cached pastes.
@@ -353,11 +353,11 @@ new UserPasteStore()
353353

354354
### client
355355
The client this store belongs to.
356-
**Type: [PastebinClient](##pastebinclient)**
356+
**Type: [PastebinClient](#pastebinclient)**
357357

358358
### user
359359
The user this store belongs to.
360-
**Type: [User](##user)**
360+
**Type: [User](#user)**
361361

362362
### fetch()
363363
Fetch this user's pastes, and store them in the cache.
@@ -368,4 +368,4 @@ Fetch this user's pastes, and store them in the cache.
368368
| max | The maximum number of pastes to fetch | number | `50` |
369369

370370
#### Returns
371-
**[Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[UserPasteStore](##userpastestore)>**
371+
**[Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[UserPasteStore](#userpastestore)>**

0 commit comments

Comments
 (0)