{"id":16006075,"url":"https://github.com/pfrazee/identify-filetype","last_synced_at":"2025-09-13T18:32:31.618Z","repository":{"id":50931106,"uuid":"60425904","full_name":"pfrazee/identify-filetype","owner":"pfrazee","description":"Identifies the file-type of a buffer","archived":false,"fork":false,"pushed_at":"2016-06-04T19:05:25.000Z","size":2,"stargazers_count":11,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-28T20:32:06.560Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pfrazee.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-06-04T19:05:05.000Z","updated_at":"2022-08-01T14:56:28.000Z","dependencies_parsed_at":"2022-08-26T13:40:42.128Z","dependency_job_id":null,"html_url":"https://github.com/pfrazee/identify-filetype","commit_stats":null,"previous_names":["pfraze/identify-filetype"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pfrazee%2Fidentify-filetype","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pfrazee%2Fidentify-filetype/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pfrazee%2Fidentify-filetype/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pfrazee%2Fidentify-filetype/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pfrazee","download_url":"https://codeload.github.com/pfrazee/identify-filetype/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232902855,"owners_count":18594353,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-08T11:23:14.335Z","updated_at":"2025-01-07T15:50:34.116Z","avatar_url":"https://github.com/pfrazee.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# identify-filetype\n\nIdentifies the file-type of a buffer using the [magic-number signatures at the start of the file](http://en.wikipedia.org/wiki/list_of_file_signatures).\n\n```js\nvar identify = require('identify-filetype')\n\nconsole.log(identify(some_buffer)) // =\u003e string | false\n```\n\n**Supported types:**\n\njpg\npng\ngif\nbmp\ntif\ntif\nnif\nico\npsd\nrar\nzip\ngz\nmsi\niso\nrtf\navi\nwmv\nwma\nswf\nflv\nmid\npdf\ndoc\ndocx\nmp3\nsvg\nhtml\n\n**Tested:**\n\ntif\npdf\npsd\ngif\njpg\npng\nbmp\ntif\nico\nrar\ndocx\ngz\ndoc\nrtf\nsvg\nhtml","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpfrazee%2Fidentify-filetype","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpfrazee%2Fidentify-filetype","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpfrazee%2Fidentify-filetype/lists"}