mock-transactions-sdk 0.0.0-stage → 1.0.1
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 +15 -2
- package/database.js +2340 -0
- package/index.js +310 -0
- package/package.json +15 -4
package/README.md
CHANGED
|
@@ -1,3 +1,16 @@
|
|
|
1
|
-
#
|
|
1
|
+
# mock-transactions-sdk
|
|
2
|
+
Generate random transactions data.
|
|
2
3
|
|
|
3
|
-
|
|
4
|
+
# Installation
|
|
5
|
+
```
|
|
6
|
+
npm i mock-transactions-sdk
|
|
7
|
+
```
|
|
8
|
+
# Usage
|
|
9
|
+
|
|
10
|
+
```
|
|
11
|
+
import {getTransactions} from 'mock-transactions-sdk'
|
|
12
|
+
|
|
13
|
+
const data = getTransactions(count)
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
Here count is the number of random transactions to be generated. Default count value is 10 if you dont pass any count.
|