UNPKG

@passmarked/malware

Version:

Rules that check if the page or linked pages on the same domain (or external) contain any unwanted software,malware or reported phishing attacks

27 lines (19 loc) 352 B
const passmarked = require('passmarked'); const _ = require('underscore') /** * Creates the actual test **/ var Test = passmarked.createTest( _.extend( {}, require('./package.json'), require('./worker.json'), { rules: [ require('./lib') ] } ) ); /** * Expose the test **/ module.exports = exports = Test