-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(release): set
package.json
to 1.4.0 [skip ci]
# [1.4.0](v1.3.4...v1.4.0) (2021-10-29) ### Features * **puppeter-arguments:** implemented puppeter arguments and path logs ([f33210b](f33210b))
- Loading branch information
1 parent
f33210b
commit 972e6e0
Showing
17 changed files
with
118 additions
and
99 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,14 @@ | ||
import * as PuppeteerExtends from './main/puppeteer'; | ||
import { Logger } from './main/logger'; | ||
import * as PuppeteerExtends from "./main/puppeteer"; | ||
import { Logger } from "./main/logger"; | ||
/** | ||
* Main instances of puppeteer-extends | ||
* | ||
* ```typescript | ||
* import { PuppeteerExtends, Logger } from 'puppeteer-extends'; | ||
* ``` | ||
* | ||
* const main = async () => { | ||
* const browser = await PuppeteerExtends.getBrowser({ isHeadless: true }); | ||
* if (browser) { | ||
* const page = await browser.newPage(); | ||
* // An example of crawling a page with CloudFlare applied. | ||
* Logger.debug('🚧 Crawling in progress...'); | ||
* const url = 'https://github.com/devalexanderdaza'; | ||
* await PuppeteerExtends.goto(page, url); | ||
* await page.screenshot({ path: 'devalexanderdaza-github-screenshot.png' }); | ||
* | ||
* Logger.debug('🚧 Crawling is complete.'); | ||
* Logger.debug('🚧 Exit the Puppeteer...'); | ||
* await browser.close(); | ||
* } | ||
* } | ||
* | ||
* main().then(r => {}); | ||
* ```javascript | ||
* const { PuppeteerExtends, Logger } = require("puppeteer-extends"); | ||
* ``` | ||
*/ | ||
export { PuppeteerExtends, Logger }; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
import moment from 'moment'; | ||
import 'moment/locale/en'; | ||
import moment from "moment"; | ||
import "moment/locale/en"; | ||
export { moment }; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.