Skip to content

Latest commit

 

History

History
84 lines (58 loc) · 1.82 KB

README.md

File metadata and controls

84 lines (58 loc) · 1.82 KB

Is HONcode Certified

Build Status Coverage Status NPM version

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