{"id":16323104,"url":"https://github.com/danielstjules/filepaths","last_synced_at":"2025-10-25T20:30:47.576Z","repository":{"id":20991172,"uuid":"24280650","full_name":"danielstjules/filepaths","owner":"danielstjules","description":"Get paths to all files in dirs/subdirs in node","archived":false,"fork":false,"pushed_at":"2017-03-24T00:51:56.000Z","size":10,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-31T10:22:27.862Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/danielstjules.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-09-21T03:09:17.000Z","updated_at":"2023-03-11T04:06:51.000Z","dependencies_parsed_at":"2022-07-31T05:08:00.748Z","dependency_job_id":null,"html_url":"https://github.com/danielstjules/filepaths","commit_stats":null,"previous_names":["danielstjules/node-filepaths"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielstjules%2Ffilepaths","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielstjules%2Ffilepaths/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielstjules%2Ffilepaths/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielstjules%2Ffilepaths/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danielstjules","download_url":"https://codeload.github.com/danielstjules/filepaths/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238207641,"owners_count":19434095,"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-10-10T22:53:57.564Z","updated_at":"2025-10-25T20:30:47.235Z","avatar_url":"https://github.com/danielstjules.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"filepaths\n==============\n\nGet paths to all files in dirs/subdirs in node\n\n[![Build Status](https://travis-ci.org/danielstjules/filepaths.svg?branch=master)](https://travis-ci.org/danielstjules/filepaths)\n\n#### getSync(paths, [opts])\n\nRecurses through the supplied paths, returning an array of file paths found\nin each. Paths may be a string, or an array of strings. The paths may be\nstrings pointing to files or directories. Accepts an options object with\nthe following keys: ignore and ext. opts.ignore takes either a single\nstring pattern or array of patterns to ignore. opts.ext accepts either\na string, or array of strings corresponding to filename extensions to\nretrieve.\n\n``` javascript\nvar filepaths = require('filepaths');\n\nfilepaths.getSync('/dir');\n\nfilePaths.getSync('/lib', {ext: '.js'});\n\nfilePaths.getSync('/project', {ignore: 'node_modules'});\n\nfilePaths.getSync('/project', {ignore: 'test|spec'});\n\nfilepaths.getSync(['/dir1', '/dir2'], {\n  ext:    ['.js', '.jsx'],\n  ignore: ['node_modules']\n});\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielstjules%2Ffilepaths","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanielstjules%2Ffilepaths","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielstjules%2Ffilepaths/lists"}