{"name":"@cspell/filetypes","version":"8.15.6","keywords":["cspell","filetypes"],"author":"Jason Dent <jason@streetsidesoftware.nl>","license":"MIT","_id":"@cspell/filetypes@8.15.6","homepage":"https://github.com/streetsidesoftware/cspell/tree/main/packages/cspell-filetypes#readme","bugs":{"url":"https://github.com/streetsidesoftware/cspell/labels/filetype"},"dist":{"shasum":"43935e0ff6f8d0182c6ef4049fb42b030f050a17","tarball":"http://registry-npm.ywwl.com/@cspell/filetypes/download/@cspell/filetypes-8.15.6.tgz","fileCount":11,"integrity":"sha512-I+K31DjFMmHSBJoL7/kpokj2c3wz9BEz4A4l19j4x4sfKGLr0Oczyu5ULEm7neKU0cqO6pg/oFMr935jZSzv8A==","signatures":[{"sig":"MEQCIFjSEUi1NmNgSboDGNPNVHCEFIEaHxVjdee+Ba+J2XzHAiB4iU8MfUXQxA/I9Ejbv2EGyltHeoAYHNniTlDMN8ceeQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@cspell%2ffiletypes@8.15.6","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":28059,"size":7336,"noattachment":false,"key":"/@cspell/filetypes/-/@cspell/filetypes-8.15.6.tgz"},"type":"module","engines":{"node":">=18"},"exports":{".":"./dist/index.js"},"gitHead":"fa9d2dff7ea196b9b59b9089c8511c538433c054","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.0/node@v18.20.4+x64 (linux)","description":"Library to determine file types based upon the file name.","directories":{"dist":"dist"},"sideEffects":false,"_nodeVersion":"18.20.4","publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/filetypes_8.15.6_1730574195996_0.22794398220132228","host":"s3://npm-registry-packages"},"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":1730574196190,"maintainers":[{"name":"jason-dent","email":"jason@streetsidesoftware.nl"}],"_cnpm_publish_time":1730574196190,"dist-tags":{"latest":"10.4.1","next":"10.4.0-alpha.1"}}