New:Socket for Asana Is Now Available.Learn more
Get Started

@cspell/filetypes

Package Overview
Dependencies
Maintainers
1
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cspell/filetypes

Library to determine file types based upon the file name.

next
Source
npmnpm
Version
10.3.0-alpha.0
Version published
Weekly downloads
759K
-46.88%
Maintainers
1
Weekly downloads
 
Created
Source

@cspell/filetypes

A library to help determine the type of a file.

Install

npm install -S @cspell/filetypes

Usage

import { findMatchingFileTypes } from '@cspell/filetypes';

console.log(findMatchingFileTypes('code.js')); // outputs: [ 'javascript' ]

Keywords

cspell

FAQs

Package last updated on 04 Sep 2026

Related posts