is-valid-url A simple package to let you know if a string has a proper URL format. It works nicely with TypeScript. It exposes a isUrl function that will let you know if the argument is a URL or not.