Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including is-an-image-url with all npm packages installed. Try it out:

var isAnImageUrl = require("is-an-image-url")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

is-an-image-url v1.0.4

This package was originally created as an async replacement for is-image-url. I was using that one but my sync security scanner said there was issue with one of the dependencies. I posted a pull request but a new version never got published, so onward and upward. The other lib was synchronous, I figured I'd make an async version.

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free