{"name":"@cspell/filetypes","version":"8.17.1","keywords":["cspell","filetypes"],"author":"Jason Dent <jason@streetsidesoftware.nl>","license":"MIT","_id":"@cspell/filetypes@8.17.1","homepage":"https://github.com/streetsidesoftware/cspell/tree/main/packages/cspell-filetypes#readme","bugs":{"url":"https://github.com/streetsidesoftware/cspell/labels/filetype"},"dist":{"shasum":"d193afc5029364334f005ff23f4c4cb80170c374","tarball":"http://registry-npm.ywwl.com/@cspell/filetypes/download/@cspell/filetypes-8.17.1.tgz","fileCount":11,"integrity":"sha512-AxYw6j7EPYtDFAFjwybjFpMc9waXQzurfBXmEVfQ5RQRlbylujLZWwR6GnMqofeNg4oGDUpEjcAZFrgdkvMQlA==","signatures":[{"sig":"MEYCIQDiY6x6pBnvfN8NrxVT188zmekzt4azEc7u3nC76HIeLQIhAOADNambHplblDoz7pIQUU6NMeNjdH/++Bjxb3Wc1d9v","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@cspell%2ffiletypes@8.17.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":28059,"size":7334,"noattachment":false,"key":"/@cspell/filetypes/-/@cspell/filetypes-8.17.1.tgz"},"type":"module","engines":{"node":">=18"},"exports":{".":"./dist/index.js"},"gitHead":"476a03accde11d8bb97c2fd09322f962c83b116a","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.10.1/node@v18.20.5+x64 (linux)","description":"Library to determine file types based upon the file name.","directories":{"dist":"dist"},"sideEffects":false,"_nodeVersion":"18.20.5","publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/filetypes_8.17.1_1734365414663_0.10805185805208928","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":1734365414847,"maintainers":[{"name":"jason-dent","email":"jason@streetsidesoftware.nl"}],"_cnpm_publish_time":1734365414847,"dist-tags":{"latest":"10.4.1","next":"10.4.0-alpha.1"}}