{"id":20292921,"url":"https://github.com/gemini-testing/glob-extra","last_synced_at":"2025-04-11T11:24:12.218Z","repository":{"id":10378062,"uuid":"65537889","full_name":"gemini-testing/glob-extra","owner":"gemini-testing","description":null,"archived":false,"fork":false,"pushed_at":"2022-09-06T19:28:56.000Z","size":217,"stargazers_count":0,"open_issues_count":6,"forks_count":2,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-07T19:11:37.606Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gemini-testing.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-08-12T08:41:01.000Z","updated_at":"2022-09-02T15:53:52.000Z","dependencies_parsed_at":"2023-01-11T20:14:31.694Z","dependency_job_id":null,"html_url":"https://github.com/gemini-testing/glob-extra","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gemini-testing%2Fglob-extra","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gemini-testing%2Fglob-extra/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gemini-testing%2Fglob-extra/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gemini-testing%2Fglob-extra/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gemini-testing","download_url":"https://codeload.github.com/gemini-testing/glob-extra/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248382597,"owners_count":21094561,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-14T15:19:59.251Z","updated_at":"2025-04-11T11:24:12.188Z","avatar_url":"https://github.com/gemini-testing.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# glob-extra\n\nWrapper for utility [fast-glob](https://github.com/mrmlnc/fast-glob) with promises support which provides expanding of masks, dirs and files to absolute file paths.\n\n[![NPM version](https://img.shields.io/npm/v/glob-extra.svg?style=flat)](https://www.npmjs.org/package/glob-extra)\n[![Build Status](https://travis-ci.org/gemini-testing/glob-extra.svg?branch=master)](https://travis-ci.org/gemini-testing/glob-extra)\n[![Coverage Status](https://img.shields.io/coveralls/gemini-testing/glob-extra.svg?style=flat)](https://coveralls.io/r/gemini-testing/glob-extra?branch=master)\n[![Dependency Status](https://img.shields.io/david/gemini-testing/glob-extra.svg?style=flat)](https://david-dm.org/gemini-testing/glob-extra)\n\n## Installation\n\n```bash\n$ npm install glob-extra\n```\n\n## Usage\n\n```js\nconst globExtra = require('glob-extra');\nconst paths = ['some/path', 'other/path/*.js', 'other/deep/path/**/*.js']\n\n// options are optional\nglobExtra.expandPaths(paths, options)\n    .then((files) =\u003e {\n        // ['/absolute/some/path/file1.js',\n        // '/absolute/other/path/file2.js',\n        // '/absolute/other/deep/path/dir/file3.js']\n    })\n    .done();\n```\n\n### Options\n\n* **formats** *{String[]}* – files formats to expand; it will expand all files by default. For example:\n\n```js\nglobExtra.expandPaths(paths, {formats: ['.txt', '.js']})\n    .then((files) =\u003e {\n        // will expand only js and txt files\n    })\n    .done();\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgemini-testing%2Fglob-extra","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgemini-testing%2Fglob-extra","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgemini-testing%2Fglob-extra/lists"}