📅  最后修改于: 2022-03-11 14:48:33.278000             🧑  作者: Mango
const isImageUrl = require('is-image-url'); isImageUrl('https://timedotcom.files.wordpress.com/2015/08/gettyimages-482708894.jpg?quality=65&strip=color&w=1100');//=> true isImageUrl('http://time.com/3981644/hong-kong-breast-assault-protest/');//=> false