File Type
Identify common document and media formats from the bytes they contain.
sindresorhus · Data and documents
GitHub projectOpen source Open on GitHubHow to try it
In a Node.js project, install [email protected]. Generate a tiny PNG and check its type without using a filename.
What we tested
22.3.0. Generate a tiny PNG and check its type without using a filename. Identified the generated bytes as a PNG image without inspecting a filename.
Reviews
Rate this repoMore to explore
- GoAWKFilter and calculate over text and tabular data with AWK.GitHub projectOpen source
- pupSelect text and elements from local HTML using terminal commands.GitHub projectOpen source
- fx JSON toolExplore or transform JSON data in a terminal.GitHub projectOpen source