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.
Files changed (4) hide show
  1. package/README.md +15 -2
  2. package/database.js +2340 -0
  3. package/index.js +310 -0
  4. package/package.json +15 -4
package/README.md CHANGED
@@ -1,3 +1,16 @@
1
- # Temporary Holding Version
1
+ # mock-transactions-sdk
2
+ Generate random transactions data.
2
3
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
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.