Search results

18 packages found

javascript implementation of a "Uniform Type Identifier" (UTI)

published version 8.9.0, 8 days ago3 dependents licensed under $0BSD
11,882

Identifies file types based on magic bytes, patterns, and other unique file attributes.

published version 1.0.4, 4 months ago5 dependents licensed under $MIT
7,232

Checks if the file path is zip file. It does not read the complete file nor it depends upon file extension

published version 1.0.2, 8 years ago3 dependents licensed under $MIT
4,487

Get the mimetype of a buffer based on its contents

published version 1.1.0, 6 years ago6 dependents licensed under $ISC
3,647

A tool to detect content types with deep learning.

published version 0.3.2, 2 months ago3 dependents licensed under $Apache-2.0
2,578

Detect the file type of a Buffer/Uint8Array/ArrayBuffer

published version 1.0.8, 2 years ago2 dependents licensed under $MIT
1,953

The module has JS functions to check all imports or required modules and check if the file is a ES Module or a CJS/ JS Module or Script

published version 0.0.7, 2 years ago0 dependents licensed under $MIT
1,832

The module has JS functions to check all imports or required modules and check if the file is a ES Module or a CJS/ JS Module or Script

published version 0.0.7, 2 years ago2 dependents licensed under $MIT
1,864

An extension of `file-type` with additional supports for .doc, .xls, .ppt

published version 1.0.1, 6 years ago2 dependents licensed under $MIT
1,567

Detect the image type of Buffer/Uint8Array

published version 0.1.4, 4 years ago5 dependents licensed under $MIT
583

Get file information based on file signature

published version 1.0.0, 10 years ago0 dependents licensed under $ISC
497

A simple and extensible file validator for browser and server-side usage. Supports type, size, and extension validation.

published version 1.0.4, 23 days ago0 dependents licensed under $ISC
153

A NPM package for getting basic file information like name, size, last modified and type.

published version 1.0.3, 5 years ago0 dependents licensed under $MIT
30

Complete any missing media type for you

published version 0.10.0, a year ago0 dependents licensed under $MIT
29

File authenticity type check

published version 1.1.5, a year ago0 dependents licensed under $MIT
19

Checks if the file path is PDF file. It does not read the complete file nor it depends upon file extension

published version 1.0.2, 8 years ago0 dependents licensed under $MIT
13

Checks if the file path is PSD file. It does not read the complete file nor it depends upon file extension

published version 1.0.2, 8 years ago0 dependents licensed under $MIT
12

Detect if image link contains .pdf

published version 1.0.0, 9 years ago0 dependents licensed under $MIT
7