{"name":"@cspell/filetypes","version":"10.3.5","keywords":["cspell","filetypes"],"author":{"name":"Jason Dent","email":"jason@streetsidesoftware.nl"},"license":"MIT","_id":"@cspell/filetypes@10.3.5","maintainers":[{"name":"jason-dent","email":"jason@streetsidesoftware.nl"}],"homepage":"https://github.com/streetsidesoftware/cspell/tree/main/packages/cspell-filetypes#readme","bugs":{"url":"https://github.com/streetsidesoftware/cspell/labels/filetype"},"dist":{"shasum":"3e217a44b082e745b6ff99b9c3a620fc4225322d","tarball":"http://registry-npm.ywwl.com/@cspell/filetypes/download/@cspell/filetypes-10.3.5.tgz","fileCount":11,"integrity":"sha512-sgRV+O8bROVE9Qn6sTRYERdQ5g0jL6v+pxBLkvvQpiCovk9me7ycIDbY6OkRUiggqQr0uBeo/7lu4GtXyMTn8Q==","signatures":[{"sig":"MEUCIQCE2+ffGTNfN1Cwce2fDISaEZ4+bWhpJCa4xWMgrGUb9gIgPUaNQ8aU9PR7cR2f+6X22TuXBwBXvHg9F9G/FwCFtJo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIDOfollw+Psw0HkGBcrqyWEeNv2qKvKVpxVn87W3aG72AiEAp9YBn0J/mMy31rn1UPlUxomCh8lnzrhqzOoAs4CZLHk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@cspell%2ffiletypes@10.3.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":28603,"size":7454,"noattachment":false,"key":"/@cspell/filetypes/-/@cspell/filetypes-10.3.5.tgz"},"type":"module","engines":{"node":">=22.18.0"},"exports":{".":"./dist/index.js"},"gitHead":"f37a244a54b686fc1ac11272d6019b9a059b062a","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":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:09dd788c-6b48-4746-a342-bbe631aad31c"}},"repository":{"url":"git+https://github.com/streetsidesoftware/cspell.git","type":"git","directory":"packages/cspell-filetypes"},"_npmVersion":"lerna/5.6.1/node@v24.21.0+x64 (linux)","description":"Library to determine file types based upon the file name.","directories":{"dist":"dist"},"sideEffects":false,"_nodeVersion":"24.21.0","publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/filetypes_10.3.5_1790540439739_0.19085367043811785","host":"s3://npm-registry-packages-npm-production"},"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":1790540439827,"_cnpm_publish_time":1790540439827,"dist-tags":{"latest":"10.4.1","next":"10.4.0-alpha.1"}}