A simple package to check for bad links
npm i link-checker-malicious
Update: v1.5.0 has only one function, it will check for all types of links, and even return the detected link.
const mal = require("link-checker-malacious");
let data = mal.isMalLink("string of text here")//it will auto detect links in it and scan those links
if(data.isMal==true) {
console.log("Type: "+data.type+"\n Link: "+data.link)
}
else {
console.log("Not a malacious string")
}
Bumblebee#1447 (on discord) creating the package DevSpen for this repo & ELBKR for this repo.
I also know that the name has a spelling error; but I can't rename on NPM :(