{"name":"@cspell/filetypes","version":"10.2.0-alpha.1","keywords":["cspell","filetypes"],"author":{"name":"Jason Dent","email":"jason@streetsidesoftware.nl"},"license":"MIT","_id":"@cspell/filetypes@10.2.0-alpha.1","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":"0d39a9aaf5e658d7fdedd5716abe30d3d029bd20","tarball":"http://registry-npm.ywwl.com/@cspell/filetypes/download/@cspell/filetypes-10.2.0-alpha.1.tgz","fileCount":11,"integrity":"sha512-oCgp2w7ojD4ToP0P6LLx4cEHECZa6R9M9EEgAlzqxzLZvG01jfb1UGTececbkG28T6XbfW4PKxjvx8+CgN5iUA==","signatures":[{"sig":"MEUCIQC3PHVLRhz5phUK7qq89p8aHR9Ecu/RNxdWwrE/+CTXugIgcTdTainJbv03kFRa5SX6ddO5ajuq2AUzhAxxbEzZXiQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQCam83VDZcQU2DP7+BPWM98W5dAqkApsxZHK0v1MVr09gIhAPnbDKl0Zva1ZytsCUGUsgj34fUTlcHJj/wcvGSbpZ6V","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@cspell%2ffiletypes@10.2.0-alpha.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":28611,"size":7455,"noattachment":false,"key":"/@cspell/filetypes/-/@cspell/filetypes-10.2.0-alpha.1.tgz"},"type":"module","engines":{"node":">=22.18.0"},"exports":{".":"./dist/index.js"},"gitHead":"6f2e2705b7f91a807273cbbd821582a372774a9d","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/5.6.1/node@v24.19.0+x64 (linux)","description":"Library to determine file types based upon the file name.","directories":{"dist":"dist"},"sideEffects":false,"_nodeVersion":"24.19.0","publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/filetypes_10.2.0-alpha.1_1787931103069_0.7314412581923153","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":1787931103173,"_cnpm_publish_time":1787931103173,"dist-tags":{"latest":"10.4.1","next":"10.4.0-alpha.1"}}