@push.rocks/smartbrowser 2.0.6 → 2.0.8

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.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * autocreated commitinfo by @pushrocks/commitinfo
2
+ * autocreated commitinfo by @push.rocks/commitinfo
3
3
  */
4
4
  export declare const commitinfo: {
5
5
  name: string;
@@ -1,9 +1,9 @@
1
1
  /**
2
- * autocreated commitinfo by @pushrocks/commitinfo
2
+ * autocreated commitinfo by @push.rocks/commitinfo
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@push.rocks/smartbrowser',
6
- version: '2.0.6',
7
- description: 'simplified puppeteer'
6
+ version: '2.0.8',
7
+ description: 'A simplified Puppeteer wrapper for easy automation and testing tasks.'
8
8
  };
9
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMDBfY29tbWl0aW5mb19kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvMDBfY29tbWl0aW5mb19kYXRhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sVUFBVSxHQUFHO0lBQ3hCLElBQUksRUFBRSwwQkFBMEI7SUFDaEMsT0FBTyxFQUFFLE9BQU87SUFDaEIsV0FBVyxFQUFFLHNCQUFzQjtDQUNwQyxDQUFBIn0=
9
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMDBfY29tbWl0aW5mb19kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvMDBfY29tbWl0aW5mb19kYXRhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sVUFBVSxHQUFHO0lBQ3hCLElBQUksRUFBRSwwQkFBMEI7SUFDaEMsT0FBTyxFQUFFLE9BQU87SUFDaEIsV0FBVyxFQUFFLHVFQUF1RTtDQUNyRixDQUFBIn0=
@@ -31,3 +31,5 @@ export declare class SmartBrowser {
31
31
  */
32
32
  evaluateOnPage<T>(urlArg: string, funcArg: () => Promise<T>): Promise<T>;
33
33
  }
34
+ import { smartpuppeteer } from './smartbrowser.plugins.js';
35
+ export { smartpuppeteer };
package/dist_ts/index.js CHANGED
@@ -62,4 +62,6 @@ export class SmartBrowser {
62
62
  return result;
63
63
  }
64
64
  }
65
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi90cy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEtBQUssT0FBTyxNQUFNLDJCQUEyQixDQUFDO0FBRXJELE9BQU8sS0FBSyxVQUFVLE1BQU0sdUJBQXVCLENBQUM7QUFFcEQ7O0dBRUc7QUFDSCxNQUFNLE9BQU8sWUFBWTtJQUl2Qjs7T0FFRztJQUNJLEtBQUssQ0FBQyxLQUFLO1FBQ2hCLElBQUksQ0FBQyxlQUFlLEdBQUcsTUFBTSxPQUFPLENBQUMsY0FBYyxDQUFDLDBCQUEwQixFQUFFLENBQUM7UUFDakYsSUFBSSxDQUFDLFFBQVEsR0FBRyxJQUFJLE9BQU8sQ0FBQyxRQUFRLENBQUMsUUFBUSxFQUFFLENBQUM7UUFDaEQsTUFBTSxJQUFJLENBQUMsUUFBUSxDQUFDLEtBQUssQ0FBQyxJQUFJLENBQUMsZUFBZSxDQUFDLENBQUM7SUFDbEQsQ0FBQztJQUVEOztPQUVHO0lBQ0ksS0FBSyxDQUFDLElBQUk7UUFDZixNQUFNLElBQUksQ0FBQyxlQUFlLENBQUMsS0FBSyxFQUFFLENBQUM7UUFDbkMsTUFBTSxJQUFJLENBQUMsUUFBUSxDQUFDLElBQ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UFDLE1BQU0sRUFBRTtZQUN0QixTQUFTLEVBQUUsY0FBYztTQUMxQixDQUFDLENBQUM7UUFDSCxNQUFNLE1BQU0sR0FBRyxNQUFNLElBQUksQ0FBQyxRQUFRLENBQUMsT0FBTyxDQUFDLENBQUM7UUFDNUMsTUFBTSxJQUFJLENBQUMsS0FBSyxFQUFFLENBQUM7UUFDbkIsT0FBTyxNQUFNLENBQUM7SUFDaEIsQ0FBQztDQUNGIn0=
65
+ import { smartpuppeteer } from './smartbrowser.plugins.js';
66
+ export { smartpuppeteer };
67
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi90cy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEtBQUssT0FBTyxNQUFNLDJCQUEyQixDQUFDO0FBRXJELE9BQU8sS0FBSyxVQUFVLE1BQU0sdUJBQXVCLENBQUM7QUFFcEQ7O0dBRUc7QUFDSCxNQUFNLE9BQU8sWUFBWTtJQUl2Qjs7T0FFRztJQUNJLEtBQUssQ0FBQyxLQUFLO1FBQ2hCLElBQUksQ0FBQyxlQUFlLEdBQUcsTUFBTSxPQUFPLENBQUMsY0FBYyxDQUFDLDBCQUEwQixFQUFFLENBQUM7UUFDakYsSUFBSSxDQUFDLFFBQVEsR0FBRyxJQUFJLE9BQU8sQ0FBQyxRQUFRLENBQUMsUUFBUSxFQUFFLENBQUM7UUFDaEQsTUFBTSxJQUFJLENBQUMsUUFBUSxDQUFDLEtBQUssQ0FBQyxJQUFJLENBQUMsZUFBZSxDQUFDLENBQUM7SUFDbEQsQ0FBQztJQUVEOztPQUVHO0lBQ0ksS0FBSyxDQUFDLElBQUk7UUFDZixNQUFNLElBQUksQ0FBQyxlQUFlLENBQUMsS0FBSyxFQUFFLENBQUM7UUFDbkMsTUFBTSxJQUFJLENBQUMsUUFBUSxDQUFDLEl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DQUFDLE1BQU0sRUFBRTtZQUN0QixTQUFTLEVBQUUsY0FBYztTQUMxQixDQUFDLENBQUM7UUFDSCxNQUFNLE1BQU0sR0FBRyxNQUFNLElBQUksQ0FBQyxRQUFRLENBQUMsT0FBTyxDQUFDLENBQUM7UUFDNUMsTUFBTSxJQUFJLENBQUMsS0FBSyxFQUFFLENBQUM7UUFDbkIsT0FBTyxNQUFNLENBQUM7SUFDaEIsQ0FBQztDQUNGO0FBRUQsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLDJCQUEyQixDQUFDO0FBQzNELE9BQU8sRUFBRSxjQUFjLEVBQUUsQ0FBQyJ9
@@ -1,4 +1,3 @@
1
- /// <reference types="node" resolution-mode="require"/>
2
1
  export interface IScreenShotResult {
3
2
  name: string;
4
3
  id: string;
package/npmextra.json CHANGED
@@ -5,12 +5,24 @@
5
5
  "gitzone": {
6
6
  "projectType": "npm",
7
7
  "module": {
8
- "githost": "gitlab.com",
8
+ "githost": "code.foss.global",
9
9
  "gitscope": "push.rocks",
10
10
  "gitrepo": "smartbrowser",
11
- "description": "puppeteer wrapper for easy tasks",
11
+ "description": "A simplified Puppeteer wrapper for easy automation and testing tasks.",
12
12
  "npmPackagename": "@push.rocks/smartbrowser",
13
- "license": "MIT"
13
+ "license": "MIT",
14
+ "keywords": [
15
+ "puppeteer",
16
+ "automation",
17
+ "testing",
18
+ "pdf generation",
19
+ "screenshot",
20
+ "web scraping",
21
+ "browser automation"
22
+ ]
14
23
  }
24
+ },
25
+ "tsdoc": {
26
+ "legal": "\n## License and Legal Information\n\nThis repository contains open-source code that is licensed under the MIT License. A copy of the MIT License can be found in the [license](license) file within this repository. \n\n**Please note:** The MIT License does not grant permission to use the trade names, trademarks, service marks, or product names of the project, except as required for reasonable and customary use in describing the origin of the work and reproducing the content of the NOTICE file.\n\n### Trademarks\n\nThis project is owned and maintained by Task Venture Capital GmbH. The names and logos associated with Task Venture Capital GmbH and any related products or services are trademarks of Task Venture Capital GmbH and are not included within the scope of the MIT license granted herein. Use of these trademarks must comply with Task Venture Capital GmbH's Trademark Guidelines, and any usage must be approved in writing by Task Venture Capital GmbH.\n\n### Company Information\n\nTask Venture Capital GmbH \nRegistered at District court Bremen HRB 35230 HB, Germany\n\nFor any legal inquiries or if you require further information, please contact us via email at hello@task.vc.\n\nBy using this repository, you acknowledge that you have read this section, agree to comply with its terms, and understand that the licensing of the code does not imply endorsement by Task Venture Capital GmbH of any derivative works.\n"
15
27
  }
16
28
  }
package/package.json CHANGED
@@ -1,37 +1,32 @@
1
1
  {
2
2
  "name": "@push.rocks/smartbrowser",
3
- "version": "2.0.6",
4
- "description": "simplified puppeteer",
3
+ "version": "2.0.8",
4
+ "description": "A simplified Puppeteer wrapper for easy automation and testing tasks.",
5
5
  "main": "dist_ts/index.js",
6
6
  "typings": "dist_ts/index.d.ts",
7
7
  "type": "module",
8
- "scripts": {
9
- "test": "(tstest test/ --web)",
10
- "build": "(tsbuild --web --allowimplicitany)",
11
- "buildDocs": "tsdoc"
12
- },
13
8
  "repository": {
14
9
  "type": "git",
15
- "url": "git+ssh://git@gitlab.com/pushrocks/smartbrowser.git"
10
+ "url": "https://code.foss.global/push.rocks/smartbrowser.git"
16
11
  },
17
12
  "author": "Lossless GmbH",
18
13
  "license": "MIT",
19
14
  "bugs": {
20
15
  "url": "https://gitlab.com/pushrocks/smartbrowser/issues"
21
16
  },
22
- "homepage": "https://gitlab.com/pushrocks/smartbrowser#README",
17
+ "homepage": "https://code.foss.global/push.rocks/smartbrowser",
23
18
  "dependencies": {
24
19
  "@push.rocks/smartdelay": "^3.0.5",
25
- "@push.rocks/smartpdf": "^3.0.16",
20
+ "@push.rocks/smartpdf": "^3.1.8",
26
21
  "@push.rocks/smartpuppeteer": "^2.0.0",
27
- "@push.rocks/smartunique": "^3.0.6"
22
+ "@push.rocks/smartunique": "^3.0.9"
28
23
  },
29
24
  "devDependencies": {
30
- "@git.zone/tsbuild": "^2.1.70",
31
- "@git.zone/tsrun": "^1.2.46",
32
- "@git.zone/tstest": "^1.0.81",
33
- "@push.rocks/tapbundle": "^5.0.15",
34
- "@types/node": "^20.6.0"
25
+ "@git.zone/tsbuild": "^2.2.0",
26
+ "@git.zone/tsrun": "^1.3.3",
27
+ "@git.zone/tstest": "^1.0.90",
28
+ "@push.rocks/tapbundle": "^5.5.4",
29
+ "@types/node": "^22.10.4"
35
30
  },
36
31
  "private": false,
37
32
  "files": [
@@ -48,5 +43,19 @@
48
43
  ],
49
44
  "browserslist": [
50
45
  "last 1 chrome versions"
51
- ]
52
- }
46
+ ],
47
+ "keywords": [
48
+ "puppeteer",
49
+ "automation",
50
+ "testing",
51
+ "pdf generation",
52
+ "screenshot",
53
+ "web scraping",
54
+ "browser automation"
55
+ ],
56
+ "scripts": {
57
+ "test": "(tstest test/ --web)",
58
+ "build": "(tsbuild --web --allowimplicitany)",
59
+ "buildDocs": "tsdoc"
60
+ }
61
+ }
@@ -0,0 +1 @@
1
+
package/readme.md CHANGED
@@ -1,37 +1,114 @@
1
1
  # @push.rocks/smartbrowser
2
- puppeteer wrapper for easy tasks
3
-
4
- ## Availabililty and Links
5
- * [npmjs.org (npm package)](https://www.npmjs.com/package/@push.rocks/smartbrowser)
6
- * [gitlab.com (source)](https://gitlab.com/push.rocks/smartbrowser)
7
- * [github.com (source mirror)](https://github.com/push.rocks/smartbrowser)
8
- * [docs (typedoc)](https://push.rocks.gitlab.io/smartbrowser/)
9
-
10
- ## Status for master
11
-
12
- Status Category | Status Badge
13
- -- | --
14
- GitLab Pipelines | [![pipeline status](https://gitlab.com/push.rocks/smartbrowser/badges/master/pipeline.svg)](https://lossless.cloud)
15
- GitLab Pipline Test Coverage | [![coverage report](https://gitlab.com/push.rocks/smartbrowser/badges/master/coverage.svg)](https://lossless.cloud)
16
- npm | [![npm downloads per month](https://badgen.net/npm/dy/@push.rocks/smartbrowser)](https://lossless.cloud)
17
- Snyk | [![Known Vulnerabilities](https://badgen.net/snyk/push.rocks/smartbrowser)](https://lossless.cloud)
18
- TypeScript Support | [![TypeScript](https://badgen.net/badge/TypeScript/>=%203.x/blue?icon=typescript)](https://lossless.cloud)
19
- node Support | [![node](https://img.shields.io/badge/node->=%2010.x.x-blue.svg)](https://nodejs.org/dist/latest-v10.x/docs/api/)
20
- Code Style | [![Code Style](https://badgen.net/badge/style/prettier/purple)](https://lossless.cloud)
21
- PackagePhobia (total standalone install weight) | [![PackagePhobia](https://badgen.net/packagephobia/install/@push.rocks/smartbrowser)](https://lossless.cloud)
22
- PackagePhobia (package size on registry) | [![PackagePhobia](https://badgen.net/packagephobia/publish/@push.rocks/smartbrowser)](https://lossless.cloud)
23
- BundlePhobia (total size when bundled) | [![BundlePhobia](https://badgen.net/bundlephobia/minzip/@push.rocks/smartbrowser)](https://lossless.cloud)
2
+ simplified puppeteer
3
+
4
+ ## Install
5
+ To install `@push.rocks/smartbrowser`, use the following npm command:
6
+
7
+ ```bash
8
+ npm install @push.rocks/smartbrowser --save
9
+ ```
10
+
11
+ This will add `@push.rocks/smartbrowser` to your project's dependencies.
24
12
 
25
13
  ## Usage
26
14
 
27
- Use TypeScript for best in class instellisense.
15
+ `@push.rocks/smartbrowser` simplifies interactions with Puppeteer for tasks like generating PDFs or capturing screenshots from webpages. Below are examples illustrating how you can use `@push.rocks/smartbrowser` in your projects.
16
+
17
+ ### Getting Started
18
+
19
+ First, import `SmartBrowser` from `@push.rocks/smartbrowser`:
20
+
21
+ ```typescript
22
+ import { SmartBrowser } from '@push.rocks/smartbrowser';
23
+ ```
24
+
25
+ Then, initialize and start the `SmartBrowser` instance:
26
+
27
+ ```typescript
28
+ const smartBrowser = new SmartBrowser();
29
+ await smartBrowser.start();
30
+ ```
31
+
32
+ ### Generating a PDF from a Webpage
33
+
34
+ You can generate a PDF from any webpage URL. This can be particularly useful for generating reports, invoices, or snapshot captures of web content.
35
+
36
+ ```typescript
37
+ // Generate a PDF from a page
38
+ const pdfResult = await smartBrowser.pdfFromPage('https://example.com');
39
+ console.log(pdfResult.buffer); // This holds the PDF file's buffer
40
+ ```
41
+
42
+ ### Capturing a Screenshot of a Webpage
43
+
44
+ Similarly, you can capture a screenshot of a webpage by passing the URL. This is useful for capturing the current state of a web application, for audits, or for keeping visual records.
45
+
46
+ ```typescript
47
+ // Capture a screenshot from a page
48
+ const screenshotResult = await smartBrowser.screenshotFromPage('https://example.com');
49
+ console.log(screenshotResult.buffer); // This is the screenshot's buffer
50
+ ```
51
+
52
+ ### Evaluating JavaScript on a Webpage
53
+
54
+ `SmartBrowser` also allows you to evaluate JavaScript on the webpage. This can be useful for scraping data, testing web applications, or automating interactions with webpages.
55
+
56
+ ```typescript
57
+ // Evaluate JavaScript on a page
58
+ const pageTitle = await smartBrowser.evaluateOnPage('https://example.com', () => {
59
+ return document.title; // Gets the title of the page
60
+ });
61
+ console.log(pageTitle); // Logs the page title to the console
62
+ ```
63
+
64
+ ### Shutting Down
65
+
66
+ Once your tasks are complete, it's important to properly shut down the `SmartBrowser` instance to free up resources:
67
+
68
+ ```typescript
69
+ await smartBrowser.stop();
70
+ ```
71
+
72
+ ### Full Example
73
+
74
+ Combining the above steps, here's a full example of using `@push.rocks/smartbrowser` to generate a PDF and capture a screenshot of a webpage:
75
+
76
+ ```typescript
77
+ import { SmartBrowser } from '@push.rocks/smartbrowser';
78
+
79
+ async function generateWebAssets() {
80
+ const smartBrowser = new SmartBrowser();
81
+ await smartBrowser.start();
82
+
83
+ const pdfResult = await smartBrowser.pdfFromPage('https://example.com');
84
+ console.log('PDF Generated:', pdfResult.buffer);
85
+
86
+ const screenshotResult = await smartBrowser.screenshotFromPage('https://example.com');
87
+ console.log('Screenshot Captured:', screenshotResult.buffer);
88
+
89
+ await smartBrowser.stop();
90
+ }
91
+
92
+ generateWebAssets();
93
+ ```
94
+
95
+ In this guide, you've learned how to use `@push.rocks/smartbrowser` for common browser automation tasks. Follow this pattern to incorporate web automation into your applications efficiently.
96
+
97
+ ## License and Legal Information
98
+
99
+ This repository contains open-source code that is licensed under the MIT License. A copy of the MIT License can be found in the [license](license) file within this repository.
100
+
101
+ **Please note:** The MIT License does not grant permission to use the trade names, trademarks, service marks, or product names of the project, except as required for reasonable and customary use in describing the origin of the work and reproducing the content of the NOTICE file.
102
+
103
+ ### Trademarks
104
+
105
+ This project is owned and maintained by Task Venture Capital GmbH. The names and logos associated with Task Venture Capital GmbH and any related products or services are trademarks of Task Venture Capital GmbH and are not included within the scope of the MIT license granted herein. Use of these trademarks must comply with Task Venture Capital GmbH's Trademark Guidelines, and any usage must be approved in writing by Task Venture Capital GmbH.
28
106
 
29
- ## Contribution
107
+ ### Company Information
30
108
 
31
- We are always happy for code contributions. If you are not the code contributing type that is ok. Still, maintaining Open Source repositories takes considerable time and thought. If you like the quality of what we do and our modules are useful to you we would appreciate a little monthly contribution: You can [contribute one time](https://lossless.link/contribute-onetime) or [contribute monthly](https://lossless.link/contribute). :)
109
+ Task Venture Capital GmbH
110
+ Registered at District court Bremen HRB 35230 HB, Germany
32
111
 
33
- For further information read the linked docs at the top of this readme.
112
+ For any legal inquiries or if you require further information, please contact us via email at hello@task.vc.
34
113
 
35
- ## Legal
36
- > MIT licensed | **&copy;** [Task Venture Capital GmbH](https://task.vc)
37
- | By using this npm module you agree to our [privacy policy](https://lossless.gmbH/privacy)
114
+ By using this repository, you acknowledge that you have read this section, agree to comply with its terms, and understand that the licensing of the code does not imply endorsement by Task Venture Capital GmbH of any derivative works.
@@ -1,8 +1,8 @@
1
1
  /**
2
- * autocreated commitinfo by @pushrocks/commitinfo
2
+ * autocreated commitinfo by @push.rocks/commitinfo
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@push.rocks/smartbrowser',
6
- version: '2.0.6',
7
- description: 'simplified puppeteer'
6
+ version: '2.0.8',
7
+ description: 'A simplified Puppeteer wrapper for easy automation and testing tasks.'
8
8
  }
package/ts/index.ts CHANGED
@@ -71,3 +71,6 @@ export class SmartBrowser {
71
71
  return result;
72
72
  }
73
73
  }
74
+
75
+ import { smartpuppeteer } from './smartbrowser.plugins.js';
76
+ export { smartpuppeteer };