{"name":"@cspell/filetypes","publishConfig":{"access":"public"},"version":"8.14.4","description":"Library to determine file types based upon the file name.","keywords":["cspell","filetypes"],"author":"Jason Dent <jason@streetsidesoftware.nl>","homepage":"https://github.com/streetsidesoftware/cspell/tree/main/packages/cspell-filetypes#readme","license":"MIT","type":"module","sideEffects":false,"exports":{".":"./dist/index.js"},"directories":{"dist":"dist"},"typings":"dist/index.d.ts","scripts":{"build":"tsc -p .","watch":"tsc -p . -w","clean":"shx rm -rf dist temp coverage \"*.tsbuildInfo\"","clean-build":"pnpm run clean && pnpm run build","sort-filetypes":"pnpm build && node scripts/sortFileTypes.js && prettier --write src/definitions.ts","coverage":"vitest run --coverage","test-watch":"vitest","test":"vitest run"},"repository":{"type":"git","url":"https://github.com/streetsidesoftware/cspell.git","directory":"packages/cspell-filetypes"},"bugs":{"url":"https://github.com/streetsidesoftware/cspell/labels/filetype"},"engines":{"node":">=18"},"gitHead":"aeedd49f6ef20799eed04076093291fcacbc4b84","_nodeVersion":"18.20.4","_npmVersion":"lerna/3.9.1/node@v18.20.4+x64 (linux)","_id":"@cspell/filetypes@8.14.4","dist":{"integrity":"sha512-qd68dD7xTA4Mnf/wjIKYz2SkiTBshIM+yszOUtLa06YJm0aocoNQ25FHXyYEQYm9NQXCYnRWWA02sFMGs8Sv/w==","shasum":"2f8b705d5b7df68817702899f9a94282ac4eef40","tarball":"http://registry-npm.ywwl.com/@cspell/filetypes/download/@cspell/filetypes-8.14.4.tgz","fileCount":11,"unpackedSize":28035,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICibTNiPa+cfrp7qtDAASsRLtpos8BPPl+5ZL+L7X5ROAiEA1o4HU49Zxyj8RJwwdWShY31Ql/he1PZcgpgv5EgANVg="}],"size":7320,"noattachment":false,"key":"/@cspell/filetypes/-/@cspell/filetypes-8.14.4.tgz"},"_npmUser":{"name":"jason-dent","email":"jason@streetsidesoftware.nl"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/filetypes_8.14.4_1726639004846_0.14819154439819537"},"_hasShrinkwrap":false,"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":1726639005044,"maintainers":[{"name":"jason-dent","email":"jason@streetsidesoftware.nl"}],"_cnpm_publish_time":1726639005044,"dist-tags":{"latest":"10.4.1","next":"10.4.0-alpha.1"}}