
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
website-health-checker
Advanced tools
Website Health Guesser NPM module
You can install it globally for commande usage:
$ npm install -g website-health-checker
or as a normal dependency:
$ npm install -S website-health-checker
$ website-health-checker --help
Usage: website-health-guesser <url> [options][-?, --help]
Options:
--version Show version number [boolean]
--certified, --hon Optional: website should be HON certified [boolean]
--lang, -l Optional: CountryCode of the expected languages. ie: en fr [array]
--ip Optional: Website should respond from this ip
--contains Optional: Page should contains those words
--blacklist Optional: List of suspicious words [array]
--url, -u url to check [required]
-?, --help Show help [boolean]
const healthChecker = require('website-health-guesser');
healthChecker.isHealthy('https://www.example.com/', {
certified: true, // Must be Honcode certified
lang: ['en', 'fr'], // Must be in English or in French
contains: 'example.com', // Must contain "example.com" string
}).then(function(result) {
console.log(result);
/*
result: {
availability: true,
certified: false,
lang: true,
contains: true,
}
*/
});
Type: function
Parameters:
url: Url to test
expectations: {
available: true,
certifed: true, // Honcode certification
lang: [countryCodes],
ip: 127.0.0.1,
contains: 'string that must be here',
blacklist: [forbidden, words],
}
All expectations are optional.
Return a Promise with booleans for all tested expectations.
Contributions are always welcome, no matter how large or small.
See Contributing.
Apache License 2.0
FAQs
test and guess if website is down or bought by another person
The npm package website-health-checker receives a total of 0 weekly downloads. As such, website-health-checker popularity was classified as not popular.
We found that website-health-checker demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.