1.1.2 • Published 5 years ago
is-remote
Checks if given path is a valid URL and resource exists
Installation
$ npm install is-remote --save
Usage
import isRemote from 'is-remote';
await isRemote('https://raw.githubusercontent.com/Codenetz/is-remote/master/test/bar.png');