We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9398fa4 commit b17425dCopy full SHA for b17425d
1 file changed
README.md
@@ -13,7 +13,7 @@ npm install @paystack/paystack-sdk --save
13
14
## Usage
15
Import and initialize the library:
16
-```
+```javascript
17
const Paystack = require('@paystack/paystack-sdk')
18
const paystack = new Paystack("sk_test_xxxxxx")
19
@@ -23,7 +23,7 @@ paystack.transaction.initialize({email: "test@example.com", amount: 20000})
23
```
24
25
Import and initialize the library using ES module with `async/await`:
26
27
import Paystack from '@paystack/paystack-sdk'
28
29
@@ -42,7 +42,7 @@ initialize(email, amount)
42
43
44
### Typescript
45
+```typescript
46
import Paystack from '@paystack/paystack-sdk';
47
const paystack = new Paystack("sk_test_xxxxxx");
48
0 commit comments