{"id":17920892,"url":"https://github.com/eth-p/node-tsconfig-files","last_synced_at":"2025-04-03T11:14:34.039Z","repository":{"id":57381503,"uuid":"170421958","full_name":"eth-p/node-tsconfig-files","owner":"eth-p","description":"A small library to find the source files from a tsconfig.json file.","archived":false,"fork":false,"pushed_at":"2022-10-11T16:17:27.000Z","size":79,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-09T00:29:59.281Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eth-p.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-02-13T01:54:56.000Z","updated_at":"2022-10-11T16:17:32.000Z","dependencies_parsed_at":"2022-09-01T01:11:08.107Z","dependency_job_id":null,"html_url":"https://github.com/eth-p/node-tsconfig-files","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eth-p%2Fnode-tsconfig-files","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eth-p%2Fnode-tsconfig-files/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eth-p%2Fnode-tsconfig-files/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eth-p%2Fnode-tsconfig-files/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eth-p","download_url":"https://codeload.github.com/eth-p/node-tsconfig-files/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246989752,"owners_count":20865331,"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-28T20:29:31.858Z","updated_at":"2025-04-03T11:14:34.018Z","avatar_url":"https://github.com/eth-p.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tsconfig-files\n[![npm version](https://badge.fury.io/js/tsconfig-files.svg)](https://badge.fury.io/js/tsconfig-files)\n\nA small library to find source files from a tsconfig.json file.\n\n## Install\n\n```bash\n$ npm install tsconfig-files\n```\n\n## Usage\n\nexample.js:\n\n```javascript\n// import {getFilesFromTsconfig} from \"tsconfig-files\";\nconst getFilesFromTsconfig = require(\"tsconfig-files\").getFilesFromTsconfig;\n\ngetFilesFromTsconfig('.').then((files) =\u003e {\n\tconsole.log(files);\n}, (error) =\u003e {\n\tconsole.error(error);\n});\n```\n\n## API\n\n**getFilesFromTsconfig(cwd): Promise\u003cstring[]\u003e**\n\nReturns a `Promise` containing the files matched by `tsconfig.json` in `cwd`.\n \n\n**getFilesFromTsconfigSync(cwd): string[]\u003e**\n\nReturns the files matched by `tsconfig.json` in `cwd`.\nThe async form is preferred over this function.\n \n**getFilesFromTsconfigJson(json, root): Promise\u003cstring[]\u003e**\n\nReturns a `Promise` containing the files matched by the provided tsconfig json.\n\n**getFilesFromTsconfigSync(json, root): string[]\u003e**\n\nReturns the files matched by the provided tsconfig json.\nThe async form is preferred over this function.\n \n## License\nMIT \u0026copy; [eth-p](https://github.com/eth-p)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feth-p%2Fnode-tsconfig-files","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feth-p%2Fnode-tsconfig-files","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feth-p%2Fnode-tsconfig-files/lists"}