JSPM

Found 35 results for file-type

@file-type/xml

XML detection plugin for file-type

  • v0.4.4
  • 72.85
  • Published

mimetics

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

  • v1.0.5
  • 63.28
  • Published

iana-media-type

Collect IANA media types for you

  • v0.1.49
  • 37.67
  • Published

@file-type/av

file-type plugin for improved audio / video type detection

  • v0.2.0
  • 37.59
  • Published

get-typeandmime

npm package for generating its file-type on basis of magic numbers!!

  • v1.0.20
  • 29.71
  • Published

@nasriya/mimex

A lightweight MIME type and file extension manager for Node.js and web applications. Mimex provides fast lookup, extension-to-MIME and MIME-to-extension resolution, and easy registration of custom types.

  • v0.0.2-beta
  • 27.83
  • Published

mime-db-cdn

A mime-db equivalent to serve data for each entry separately over CDN. Enables small, selective download for any given query.

  • v4.0.1-1.54.0
  • 25.54
  • Published

gs-data

> A foundational library for reading and writing network or file data on the browser side<br/> > For local file read/write operations, [gs-web-fs](https://www.npmjs.com/package/gs-web-fs), built on top of this library, offers enhanced ease of use<br/> >

  • v0.1.11
  • 25.06
  • Published

secure-file-validator

Secure file validation library with signature checking and content validation

  • v1.0.2
  • 24.18
  • Published

vamtec

Vamtec is a multi Purpose AI Assistant, ChatBot, file generation (PDF, Excel, CSV), image uploads handling and automation library

    • v1.3.10
    • 24.09
    • Published

    mime-detector

    A TypeScript module to detect file MIME types

    • v1.0.8
    • 23.41
    • Published

    grain-sand-data

    > A foundational library for reading and writing network or file data on the browser side<br/> > For local file read/write operations, [grain-sand-web-fs](https://www.npmjs.com/package/grain-sand-web-fs), built on top of this library, offers enhanced eas

    • v0.1.9
    • 23.09
    • Published

    auto-media-type

    Complete any missing media type for you

    • v0.10.0
    • 20.95
    • Published

    omni-file

    You got a filename/foldername we got all its info: icon, category, type, extensions, mime type, color, and more...

    • v1.3.6
    • 20.25
    • Published

    vamtec-react

    Vamtec is a file generation (PDF, Excel, CSV), image uploads handling and automation library

      • v1.0.1
      • 17.93
      • Published

      @andrewlwn77/s3-upload-mcp-server

      Pure Node.js MCP server for uploading images to AWS S3 with high-performance validation using Sharp and file-type

      • v1.0.0
      • 17.12
      • Published

      get-file-info

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

      • v1.0.3
      • 15.51
      • Published

      scan-the-folder

      Efficiently scans a folder to extract filenames, extensions, and full directory paths, supporting recursive traversal.

      • v1.0.5
      • 15.43
      • Published

      media-type-detector

      Detects and categorizes media files (image, video, document, etc.) from a Blob using file-type.

      • v1.0.3
      • 12.83
      • Published

      file-type-validator-ts

      Validates file extension against its actual buffer-based content type in TypeScript.

        • v1.0.3
        • 11.66
        • Published

        mime-db-lite

        A tiny, lightweight JavaScript API to query mime-db (Media-type / MIME-type database).

        • v2.1.1
        • 9.22
        • Published

        png-or-not

        A lightweight utility to check whether a given file or buffer is a valid PNG image by verifying its signature bytes(magic number). Perfect for validating image uploads or streams before processing.

        • v1.0.0
        • 9.22
        • Published

        is-check-mahmud

        A package to check various data types like number, integer, float, NaN, finite, infinity, odd, even, array, object, string, date, binary, URL, and file types like PNG, SVG, MP3, MP4, etc.

        • v1.2.3
        • 9.02
        • Published

        filesops

        Advanced file operations library with search, type detection, size calculation, and permission utilities

        • v1.0.2
        • 8.16
        • Published

        file-type-js

        A file type checking library

        • v0.1.0
        • 7.57
        • Published

        checking-values

        A package to check various data types like number, integer, float, NaN, finite, infinity, odd, even, array, object, string, date, binary, URL, and file types like PNG, SVG, MP3, MP4, etc.

        • v1.2.5
        • 7.15
        • Published