{"id":21356173,"url":"https://github.com/jbenner-radham/node-is-file-in-cwd","last_synced_at":"2025-03-16T05:41:32.458Z","repository":{"id":57277171,"uuid":"115438289","full_name":"jbenner-radham/node-is-file-in-cwd","owner":"jbenner-radham","description":"Check if a filename is in the current working directory.","archived":false,"fork":false,"pushed_at":"2017-12-26T16:55:49.000Z","size":42,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-28T11:42:49.851Z","etag":null,"topics":["check","cwd","exists","file","filename","process"],"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/jbenner-radham.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2017-12-26T16:33:55.000Z","updated_at":"2018-02-02T01:30:02.000Z","dependencies_parsed_at":"2022-08-25T03:41:58.801Z","dependency_job_id":null,"html_url":"https://github.com/jbenner-radham/node-is-file-in-cwd","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jbenner-radham%2Fnode-is-file-in-cwd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jbenner-radham%2Fnode-is-file-in-cwd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jbenner-radham%2Fnode-is-file-in-cwd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jbenner-radham%2Fnode-is-file-in-cwd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jbenner-radham","download_url":"https://codeload.github.com/jbenner-radham/node-is-file-in-cwd/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243830923,"owners_count":20354850,"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":["check","cwd","exists","file","filename","process"],"created_at":"2024-11-22T04:29:15.843Z","updated_at":"2025-03-16T05:41:32.417Z","avatar_url":"https://github.com/jbenner-radham.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"is-file-in-cwd\n==============\nCheck if a filename is in the current working directory.\n\nInstall\n-------\n```sh\n$ yarn add is-file-in-cwd # Or alternatively: `npm install --save is-file-in-cwd`\n```\n\nUsage\n-----\n```js\n'use strict';\n\nconst isFileInCwd = require('is-file-in-cwd');\n\n// Returns `true` if a file named `README.md` is located in the\n// directory that `process.cwd()` is pointing to. Returns `false`\n// otherwise.\nisFileInCwd('README.md');\n```\n\nTesting\n-------\n```sh\n$ yarn test # Or alternatively: `npm test`\n```\n\nLicense\n-------\nThe MIT License (Expat). See the [license file](LICENSE) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjbenner-radham%2Fnode-is-file-in-cwd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjbenner-radham%2Fnode-is-file-in-cwd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjbenner-radham%2Fnode-is-file-in-cwd/lists"}