Skip to content

Commit 4512e52

Browse files
committed
docs: move example below Usage section
1 parent 987dbcf commit 4512e52

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

readme.md

+5-7
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@
44

55
An object-oriented JavaScript wrapper for the Pastebin API.
66

7-
## Quick Example
7+
## Installation
8+
9+
$ npm install @catte_/pastebin.js
10+
11+
## Usage
812

913
```js
1014
const { PastebinClient } = require("@catte_/pastebin.js")
@@ -18,12 +22,6 @@ const paste = await pastebin.pastes.create("console.log('hello, world')", {
1822
console.log(paste.url)
1923
```
2024

21-
## Installation
22-
23-
$ npm install @catte_/pastebin.js
24-
25-
## Usage
26-
2725
- [Classes](#classes)
2826
- [PastebinClient](#pastebinclient)
2927
- [PastebinError](#pastebinerror-extends-error)

0 commit comments

Comments
 (0)