New:Socket for Asana Is Now Available.Learn more
Sign In

@cspell/filetypes

Package Overview
Dependencies
Maintainers
1
Versions
54
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.

Source
npmnpm
Version
10.1.0
Version published
Weekly downloads
1.5M
24.9%
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 22 Aug 2026

Related posts