is-honcode-certified
v0.0.4
Published
Check if a website is HONcode certified
Downloads
6
Readme
Is HONcode Certified
Is HONcode Certified NPM module
Install
$ npm install -g is-honcode-certified
Command Line
$ is-honcode-certified --help
Usage: is-honcode-certified <url> [-?, --help]
Options:
--url, -u url to check [required]
-?, --help Show help [boolean]
Usage
var hon = require('is-honcode-certified');
hon.isHONcodeCertified('https://www.hon.ch/').then(function(isCertified) {
if (isCertified) {
console.log('\n🦄 It\'s safe\n');
} else {
console.log('\n👻 Be careful\n');
}
});
API
.isHONcodeCertified(url)
Type: function
Return a Promise with true if the website is certified.
See Also
Contributing to Is HONcode Certified
Contributions are always welcome, no matter how large or small.
See Contributing.
Developer
License
Apache License 2.0