@cspell/filetypes
v9.6.4
Published
Library to determine file types based upon the file name.
Downloads
3,393,973
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' ]