An open API service indexing awesome lists of open source software.

https://github.com/yhdgms1/is-image

Checks if the string is a picture by extension
https://github.com/yhdgms1/is-image

deno image picture

Last synced: about 2 months ago
JSON representation

Checks if the string is a picture by extension

Awesome Lists containing this project

README

          

# is-image

This module checks only the ending of the file

## Getting started

```ts
import { isImage, isWebImage } from "https://deno.land/x/is_image/mod.ts";

isImage("image.png"); //true
isWebImage("image.tga"); //false
```