We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa0c15a commit 2c29dd8Copy full SHA for 2c29dd8
public_api/bhavcopy.js
@@ -6,6 +6,9 @@ class BhavCopy {
6
* @param string dir Specify the directory for downloading files
7
*/
8
constructor(options = {}) {
9
+ super()
10
+ console.log(1, options);
11
+
12
this.request = require("request");
13
this.fs = require("fs");
14
const {
@@ -19,7 +22,7 @@ class BhavCopy {
19
22
type !== "undefined" &&
20
23
this.__validateFileType().indexOf(type) !== -1 ?
21
24
type :
- "csv";
25
+ "json";
26
this.isMultiplesFile = false;
27
}
28
0 commit comments