gwsp
v4.4.6-fix
Published
Get WebSite Protection - A simple Node.js package for fetching information about the protection mechanisms used by a website.
Downloads
22
Maintainers
Readme
GWSP (Get WebSite Protection)
GWSP is a simple Node.js package for fetching information about the protection mechanisms used by a website.
Installation
You can install GWSP using npm:
npm install gwsp
Usage
GWSP can be used with both Node.js and TypeScript.
Node.js
const GWSP = require('gwsp');
async function main() {
try {
await GWSP('https://example.com');
} catch (error) {
console.error(error);
}
}
main();
TypeScript
import GWSP from 'gwsp';
async function main() {
try {
await GWSP('https://example.com');
} catch (error) {
console.error(error);
}
}
main();
Features
- Retrieves information about the protection mechanisms used by a website.
- Supports both HTTP and HTTPS URLs.