@cspell/filetypes
v10.0.0
Published
Library to determine file types based upon the file name.
Downloads
4,549,587
Readme
@cspell/filetypes
A library to help determine the type of a file.
Install
npm install -S @cspell/filetypesUsage
import { findMatchingFileTypes } from '@cspell/filetypes';
console.log(findMatchingFileTypes('code.js')); // outputs: [ 'javascript' ]