GitShow/sindresorhus/is-image
sindresorhus

is-image

Check if a file path is an image

by sindresorhus
Star on GitHubForknpm

JavaScript

99 stars10 forks5 contributorsQuiet · 3y agoSince 2015v4.0.0MIT

Meet the team

See all 5 on GitHub →
sindresorhus
sindresorhus15 contributions
appleboy
appleboy1 contribution
bobbyg603
bobbyg6031 contribution
BendingBender
BendingBender1 contribution
Richienb
Richienb1 contribution

Languages

View on GitHub →
JavaScript92.1%
TypeScript7.9%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

4 of 6 standards met

Community profile →
71
✓README✓License✓Contributing✓Code of Conduct○Issue Template○PR Template

Recent fixes

View closed PRs →
AruljothySundaramoorthy
Error while importingClosedIssue

Error [ERR_REQUIRE_ESM]: require() of ES Module not supported. Instead change the require of index.js in validator.js to a dynamic import() which is available in all CommonJS modules. at Object. ( validator.js:1:21) { code: 'ERR_REQUIRE_ESM' }

AruljothySundaramoorthy · 2y ago
LolipopJ
[Bug report] Dependency 'node:path' was not foundClosedIssue

While using , I got the error: Downgrade to and everything is fine. Version of My Node.js is .

LolipopJ · 3y ago
bobbyg603
chore!: make ESMMergedPR

Use instead of Update , , to latest Update to in package.json Update in package.json Update in GitHub action BREAKING CHANGE: updates package to be ESM

bobbyg603 · 3y ago
Structured data for AI agents

Repository: sindresorhus/is-image. Description: Check if a file path is an image Stars: 99, Forks: 10. Primary language: JavaScript. Languages: JavaScript (92.1%), TypeScript (7.9%). License: MIT. Latest release: v4.0.0 (3y ago). Open PRs: 0, open issues: 0. Last activity: 3y ago. Community health: 71%. Top contributors: sindresorhus, appleboy, bobbyg603, BendingBender, Richienb.

·@ofershap

Replace github.com with gitshow.dev