gwsp 2.2.2 → 4.4.4-fix

Sign up to get free protection for your applications and to get access to all the features.
package/README.md CHANGED
@@ -16,7 +16,7 @@ GWSP can be used with both Node.js and TypeScript.
16
16
 
17
17
  ## Node.js
18
18
  ```javascript
19
- const GWSP = require('gwsp').default;
19
+ const GWSP = require('gwsp');
20
20
 
21
21
  async function main() {
22
22
  try {
@@ -47,8 +47,4 @@ main();
47
47
  ## Features
48
48
 
49
49
  - Retrieves information about the protection mechanisms used by a website.
50
- - Supports both HTTP and HTTPS URLs.
51
-
52
- ## License
53
-
54
- This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
50
+ - Supports both HTTP and HTTPS URLs.
package/dist/index.js CHANGED
@@ -36,7 +36,7 @@ function GWSP(url) {
36
36
  else if (viaHeader) {
37
37
  protectionInfo = `Via: ${viaHeader}`;
38
38
  }
39
- (0, kyle_printer_1.default)({ text: `GWSP GET : ,\n${protectionInfo}`, color: 'green', font: 'bold' });
39
+ (0, kyle_printer_1.default)({ text: `GWSP GET [ ${protectionInfo} ]`, color: 'green', font: 'bold' });
40
40
  }
41
41
  catch (error) {
42
42
  let statusCode = 'null';
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "gwsp",
3
- "version": "2.2.2",
3
+ "version": "4.4.4-fix",
4
4
  "main": "dist/index.js",
5
5
  "scripts": {
6
6
  "build": "tsc",
7
7
  "start": "ts-node src/index.ts"
8
8
  },
9
- "keywords": ["website", "protection", "security", "fetch", "web", "site", "shield", "defense", "safe", "guard", "inspect", "scan"],
9
+ "keywords": ["website", "protection", "security", "fetch", "web", "site", "shield", "defense", "safe", "guard", "inspect", "scan", "TypeScript"],
10
10
  "author": "Kyle",
11
11
  "license": "MIT",
12
12
  "description": "Get WebSite Protection - A simple Node.js package for fetching information about the protection mechanisms used by a website.",