{"name":"@cspell/filetypes","version":"8.14.1","keywords":["cspell","filetypes"],"author":"Jason Dent <jason@streetsidesoftware.nl>","license":"MIT","_id":"@cspell/filetypes@8.14.1","homepage":"https://github.com/streetsidesoftware/cspell/tree/main/packages/cspell-filetypes#readme","bugs":{"url":"https://github.com/streetsidesoftware/cspell/labels/filetype"},"dist":{"shasum":"aa2c4772a62cad36bd72f161e5ab7f3508a26e2c","tarball":"http://registry-npm.ywwl.com/@cspell/filetypes/download/@cspell/filetypes-8.14.1.tgz","fileCount":11,"integrity":"sha512-jOcTFzHJ3c1uTZLm3BvLrZ8TakXLIimsFGwvk/qTA1EYgUPC2a0TypGCxR0NCHmpMlZvfAT5iAksDIiCHq1yjg==","signatures":[{"sig":"MEQCIGkRiJbxERLp9V2bmENgNnKoCfgDTnCHoA9aa2ZpilGRAiBc1+gEX0SLpqmkOddkpBZB+ngP/Uy0VuGQjwJgOAbEyA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":28035,"size":7321,"noattachment":false,"key":"/@cspell/filetypes/-/@cspell/filetypes-8.14.1.tgz"},"type":"module","engines":{"node":">=18"},"exports":{".":"./dist/index.js"},"gitHead":"5552bdba15adc8c073dd33791f30329147c5c64b","scripts":{"test":"vitest run","build":"tsc -p .","clean":"shx rm -rf dist temp coverage \"*.tsbuildInfo\"","watch":"tsc -p . -w","coverage":"vitest run --coverage","test-watch":"vitest","clean-build":"pnpm run clean && pnpm run build","sort-filetypes":"pnpm build && node scripts/sortFileTypes.js && prettier --write src/definitions.ts"},"typings":"dist/index.d.ts","_npmUser":{"name":"jason-dent","email":"jason@streetsidesoftware.nl"},"repository":{"url":"https://github.com/streetsidesoftware/cspell.git","type":"git","directory":"packages/cspell-filetypes"},"_npmVersion":"lerna/3.8.0/node@v18.20.4+x64 (linux)","description":"Library to determine file types based upon the file name.","directories":{"dist":"dist"},"sideEffects":false,"_nodeVersion":"18.20.4","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/filetypes_8.14.1_1723895858109_0.10913366584517448","host":"s3://npm-registry-packages"},"readme":"# `@cspell/filetypes`\n\nA library to help determine the type of a file.\n\n## Install\n\n```sh\nnpm install -S @cspell/filetypes\n```\n\n## Usage\n\n```ts\nimport { findMatchingFileTypes } from '@cspell/filetypes';\n\nconsole.log(findMatchingFileTypes('code.js')); // outputs: [ 'javascript' ]\n```\n","publish_time":1723895858261,"maintainers":[{"name":"jason-dent","email":"jason@streetsidesoftware.nl"}],"_cnpm_publish_time":1723895858261,"dist-tags":{"latest":"10.4.1","next":"10.4.0-alpha.1"}}