{"name":"tinyglobby","version":"0.2.4","keywords":["glob","patterns","fast","implementation"],"author":{"name":"Superchupu"},"license":"ISC","_id":"tinyglobby@0.2.4","homepage":"https://github.com/SuperchupuDev/tinyglobby#readme","bugs":{"url":"https://github.com/SuperchupuDev/tinyglobby/issues"},"dist":{"shasum":"a720586c21ed8fba5f485bd5dfbb0d84e3641179","tarball":"http://registry-npm.ywwl.com/tinyglobby/download/tinyglobby-0.2.4.tgz","fileCount":9,"integrity":"sha512-h2O9NpZ4xnq0HIcsS1+5d9CzKSThHSmAO4kMGFMD9rTzUfZWjvMVVj8qq+wpO4l7+xb3YcjtXr5z6N0W0EDPvw==","signatures":[{"sig":"MEUCICaQQI3OXjmnM/BPtWJysVbowjPOwNhuqCp3uClbCW8zAiEAy/1F8QjKo1SKJjg1ksoKKmSodjhauPJ+x+S393cJPLg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/tinyglobby@0.2.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":38286,"size":7652,"noattachment":false,"key":"/tinyglobby/-/tinyglobby-0.2.4.tgz"},"main":"dist/index.js","_from":"file:tinyglobby-0.2.4.tgz","types":"dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=12.0.0"},"exports":{"import":"./dist/index.mjs","require":"./dist/index.js"},"scripts":{"lint":"biome lint","test":"node --experimental-transform-types --test test/*.test.ts","build":"tsup","check":"biome check","format":"biome format --write","lint:fix":"biome lint --fix --unsafe","test:cov":"node --experimental-transform-types --test --experimental-test-coverage test/*.test.ts","test:only":"node --experimental-transform-types --test --test-only test/*.test.ts","typecheck":"tsc --noEmit"},"_npmUser":{"name":"superchupu","email":"mgurriarann@gmail.com"},"_resolved":"/tmp/03c9cb4ae3e99f4485373c8325eecfa0/tinyglobby-0.2.4.tgz","_integrity":"sha512-h2O9NpZ4xnq0HIcsS1+5d9CzKSThHSmAO4kMGFMD9rTzUfZWjvMVVj8qq+wpO4l7+xb3YcjtXr5z6N0W0EDPvw==","deprecated":"Versions 0.2.3 and 0.2.4 contain a critical bug. Please upgrade to 0.2.5 or higher","repository":{"url":"git+https://github.com/SuperchupuDev/tinyglobby.git","type":"git"},"_npmVersion":"10.8.2","description":"A fast and minimal alternative to globby and fast-glob","directories":{},"sideEffects":false,"_nodeVersion":"22.7.0","dependencies":{"fdir":"^6.2.0","picomatch":"^4.0.2"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.2.4","typescript":"^5.5.4","@types/node":"^22.5.0","@biomejs/biome":"^1.8.3","@types/picomatch":"^3.0.1"},"_npmOperationalInternal":{"tmp":"tmp/tinyglobby_0.2.4_1724505575036_0.9521230784953789","host":"s3://npm-registry-packages"},"readme":"# tinyglobby\n\n<a href=\"https://www.npmjs.com/package/tinyglobby\">\n  <img src=\"https://img.shields.io/npm/v/tinyglobby.svg?maxAge=3600\" alt=\"npm version\" />\n  <img src=\"https://img.shields.io/npm/dm/tinyglobby.svg?maxAge=3600\" alt=\"monthly downloads\" />\n</a>\n\nA fast and minimal alternative to globby and fast-glob, meant to behave the same way.\n\nBoth globby and fast-glob present some behavior no other globbing lib has,\nwhich makes it hard to manually replace with something smaller and better.\n\nThis library uses only two subdependencies, unlike globby's [23](https://npmgraph.js.org/?q=globby@14.0.2) and fast-glob's [17](https://npmgraph.js.org/?q=fast-glob@3.3.2).\n\n## Usage\n\n```js\nimport { glob, globSync } from 'tinyglobby';\n\nawait glob(['files/*.ts', '!**/*.d.ts'], { cwd: 'src' });\nglobSync(['src/**/*.ts'], { ignore: ['**/*.d.ts'] });\n```\n\n## Options\n\n- `patterns`: An array of glob patterns to search for. Defaults to `['**/*']`.\n- `ignore`: An array of glob patterns to ignore.\n- `cwd`: The current working directory in which to search. Defaults to `process.cwd()`.\n- `absolute`: Whether to return absolute paths. Defaults to `false`.\n- `dot`: Whether to allow entries starting with a dot. Defaults to `false`.\n- `deep`: Maximum depth of a directory. Defaults to `Infinity`.\n- `caseSensitiveMatch`: Whether to match in case-sensitive mode. Defaults to `true`.\n- `expandDirectories`: Whether to expand directories. Disable to best match `fast-glob`. Defaults to `true`.\n- `onlyDirectories`: Enable to only return directories. Disables `onlyFiles` if set. Defaults to `false`.\n- `onlyFiles`: Enable to only return files. Defaults to `true`.\n\n## Used by\n\n`tinyglobby` is downloaded many times by projects all around the world. Here's a list of notable projects that use it:\n\n<!-- should be sorted by weekly download count -->\n- [`vitest`](https://github.com/vitest-dev/vitest)\n- [`tsup`](https://github.com/egoist/tsup)\n- [`nuxt`](https://github.com/nuxt/nuxt)\n- [`vite-plugin-pwa`](https://github.com/vite-pwa/vite-plugin-pwa)\n- [`unocss`](https://github.com/unocss/unocss)\n- [`vitepress`](https://github.com/vuejs/vitepress)\n- [`pkg.pr.new`](https://github.com/stackblitz-labs/pkg.pr.new)\n- Your own project? [Open an issue](https://github.com/SuperchupuDev/tinyglobby/issues)\nif you feel like this list is incomplete.\n","publish_time":1724505575254,"maintainers":[{"name":"superchupu","email":"mgurriarann@gmail.com"}],"_cnpm_publish_time":1724505575254,"dist-tags":{"latest":"0.2.17"}}