UNPKG

@ernestoyoofi/yt.loader-to

Version:

Simple api youtube downloader is not official from en.loader.to

15 lines (13 loc) 298 B
module.exports = function (text) { if(typeof text != 'string') { return undefined } let collection = "" let numrict = "1234567890".split("") for(let i of text.split("")) { if(numrict.indexOf(i) != -1) { collection += i } } return Number(collection) }