GitShow/sindresorhus/is-png
sindresorhus

is-png

Check if a Buffer/Uint8Array is a PNG image

by sindresorhus
Star on GitHubForknpm

JavaScript

48 stars4 forks5 contributorsQuiet · 4y agoSince 2014v3.0.1MIT

Meet the team

See all 5 on GitHub →
sindresorhus
sindresorhus16 contributions
BendingBender
BendingBender1 contribution
paulmelnikow
paulmelnikow1 contribution
Richienb
Richienb1 contribution
hemanth
hemanth1 contribution

Languages

View on GitHub →
JavaScript63.6%
TypeScript36.4%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

4 of 6 standards met

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

Recent fixes

View closed PRs →
Richienb
Move to GitHub ActionsMergedPR
Richienb · 5y ago
BendingBender
Require Node.js 8, add TypeScript definitionMergedPR
BendingBender · 7y ago
m-onz
Hypothetical questionClosedIssue

Hey, Thanks for making this library! This is just a hypothetical question but is it possible to trick this check by providing a valid png signature but using a polyglot file? related article: https://motherboard.vice.com/en_us/article/qkv53v/how-you-can-get-hacked-just-by-looking-at-a-picture-online

m-onz · 8y ago
Structured data for AI agents

Repository: sindresorhus/is-png. Description: Check if a Buffer/Uint8Array is a PNG image Stars: 48, Forks: 4. Primary language: JavaScript. Languages: JavaScript (63.6%), TypeScript (36.4%). License: MIT. Latest release: v3.0.1 (4y ago). Open PRs: 0, open issues: 0. Last activity: 4y ago. Community health: 85%. Top contributors: sindresorhus, BendingBender, paulmelnikow, Richienb, hemanth.

·@ofershap

Replace github.com with gitshow.dev