{"name":"@cspell/filetypes","version":"9.4.0","keywords":["cspell","filetypes"],"author":{"name":"Jason Dent","email":"jason@streetsidesoftware.nl"},"license":"MIT","_id":"@cspell/filetypes@9.4.0","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":"8db3b9c4e82631f7aa07a3b25eddef8aedb8ca5f","tarball":"http://registry-npm.ywwl.com/@cspell/filetypes/download/@cspell/filetypes-9.4.0.tgz","fileCount":11,"integrity":"sha512-RMrYHkvPF0tHVFM+T4voEhX9sfYQrd/mnNbf6+O4CWUyLCz4NQ5H9yOgEIJwEcLu4y3NESGXFef/Jn5xo0CUfg==","signatures":[{"sig":"MEUCIFlcaoTZ/KUzM2D8PRoKKQI0Gyt4sZEr1x3vB0OlntIrAiEAjb9ERafsiFln4aMZqLzo+uqrojWLqeCJVsG3tmskCtg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@cspell%2ffiletypes@9.4.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":28235,"size":7378,"noattachment":false,"key":"/@cspell/filetypes/-/@cspell/filetypes-9.4.0.tgz"},"type":"module","engines":{"node":">=20"},"exports":{".":"./dist/index.js"},"gitHead":"12dba3d8b880384d1401c765cb2186647f5a266f","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":"git+https://github.com/streetsidesoftware/cspell.git","type":"git","directory":"packages/cspell-filetypes"},"_npmVersion":"lerna/4.9.4/node@v20.19.5+x64 (linux)","description":"Library to determine file types based upon the file name.","directories":{"dist":"dist"},"sideEffects":false,"_nodeVersion":"20.19.5","publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/filetypes_9.4.0_1764618741002_0.4965221513080402","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":1764618741203,"_cnpm_publish_time":1764618741203,"dist-tags":{"latest":"10.4.1","next":"10.4.0-alpha.1"}}