healthonnet / is-honcode-certified

Check if a website is HONcode certified

Home Page:https://www.npmjs.com/package/is-honcode-certified

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Check if a website is HONcode certified

https://www.npmjs.com/package/is-honcode-certified

License:Apache License 2.0


Languages

Language:JavaScript 100.0%