{"name":"@cspell/filetypes","version":"8.19.4","keywords":["cspell","filetypes"],"author":"Jason Dent <jason@streetsidesoftware.nl>","license":"MIT","_id":"@cspell/filetypes@8.19.4","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":"4bf55a143f923c98cb38b835608c60936dfa6af6","tarball":"http://registry-npm.ywwl.com/@cspell/filetypes/download/@cspell/filetypes-8.19.4.tgz","fileCount":11,"integrity":"sha512-D9hOCMyfKtKjjqQJB8F80PWsjCZhVGCGUMiDoQpcta0e+Zl8vHgzwaC0Ai4QUGBhwYEawHGiWUd7Y05u/WXiNQ==","signatures":[{"sig":"MEYCIQC+O9+/IYGMD0Qt5D8Epax9R/Srr8BYYLOgxyUMwh/SOAIhANGGaJ5O+C6gj5Awqr3QItIQAPK96KhjuXR4+FM2kxbR","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@cspell%2ffiletypes@8.19.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":28059,"size":7333,"noattachment":false,"key":"/@cspell/filetypes/-/@cspell/filetypes-8.19.4.tgz"},"type":"module","engines":{"node":">=18"},"exports":{".":"./dist/index.js"},"gitHead":"1bee5f5aa4429a1b1ae0e88934b093c5440b44dc","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/4.1.1/node@v20.19.1+x64 (linux)","description":"Library to determine file types based upon the file name.","directories":{"dist":"dist"},"sideEffects":false,"_nodeVersion":"20.19.1","publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/filetypes_8.19.4_1746280276113_0.055817945198886054","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":1746280276328,"_cnpm_publish_time":1746280276328,"dist-tags":{"latest":"10.4.1","next":"10.4.0-alpha.1"}}