lifeguard-api

1.0.4 • Public • Published

Lifeguard

Check if a website is safe with ease.

⏬ Installation

$ npm i lifeguard-api

🚦 Usage

const LifeguardSession = require("lifeguard-api");
 
...
 
var lifeguard = new LifeguardSession({ 
    apiKey: '123myApiKeyHere',
    appName: 'Lifeguard is awesome 🕶',
    appVersion: '1.0.0',
    platform: 'windows'
});
 
pusher.on('foobar-page-load', async () => {
 
  var isSafe = lifeguard.check('http://unsafe.page.com/foo.html', (safe) => {
    console.log(safe)
    // => false
  })
 
  var isSafe = lifeguard.check('https://facebook.com', (safe) => {
    console.log(safe)
    // => true
  }))
 
});
 

🤝 Support

For support, join our support discord server.

Discord

📄 Documentation

Head over to our wiki page for documentation.

🧱 Built With

  • NodeJS - The server environment

🖋 Authors

  • Ender aka EnderDev - Main Developer - EnderDev

🤵 License

This project is licensed under the MIT License - see the LICENSE file for details

Readme

Keywords

none

Package Sidebar

Install

npm i lifeguard-api

Weekly Downloads

1

Version

1.0.4

License

MIT

Unpacked Size

8.74 kB

Total Files

5

Last publish

Collaborators

  • enderdev