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.
2 parents 5971a2e + cc4846c commit 9c1fbb8Copy full SHA for 9c1fbb8
README.md
@@ -13,10 +13,10 @@ npm install write-npmstat
13
# Usage
14
15
```js
16
-const WriteNpmStat = require("write-npmstat");
+const WriteNpmStat = require("write-npmstat").default;
17
18
-packageName = "npm-stat-api"
19
-outDir = "stats/npm-stat-api"
+const packageName = "npm-stat-api";
+const outDir = "stats/npm-stat-api";
20
const writenpmstat = new WriteNpmStat(packageName, outDir);
21
22
writenpmstat.datePeriod = "month";
0 commit comments