Skip to content

Commit 43cca51

Browse files
committed
feat: add exports so that package can be interated into other projects
1 parent c615f9a commit 43cca51

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

cli/index.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#!/usr/bin/env node
22
const puppeteer = require('puppeteer')
3-
const { options } = require('yargs')
43
const fs = require('fs').promises
54
const yargsInstance = require('yargs')
65
const { hideBin } = require('yargs/helpers')
@@ -160,3 +159,7 @@ yargsInstance(hideBin(process.argv))
160159
default: 4
161160
})
162161
.parse()
162+
163+
module.exports = {
164+
scrape
165+
}

0 commit comments

Comments
 (0)