{"id":19585263,"url":"https://github.com/slammayjammay/git-files","last_synced_at":"2026-04-16T14:02:05.211Z","repository":{"id":74191086,"uuid":"77169760","full_name":"slammayjammay/git-files","owner":"slammayjammay","description":"List git files","archived":false,"fork":false,"pushed_at":"2017-02-02T06:45:54.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-24T15:13:26.264Z","etag":null,"topics":["es6","git","javascript","node"],"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/slammayjammay.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-12-22T19:14:44.000Z","updated_at":"2016-12-22T19:17:07.000Z","dependencies_parsed_at":"2023-05-03T14:32:09.371Z","dependency_job_id":null,"html_url":"https://github.com/slammayjammay/git-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/slammayjammay%2Fgit-files","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slammayjammay%2Fgit-files/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slammayjammay%2Fgit-files/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slammayjammay%2Fgit-files/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/slammayjammay","download_url":"https://codeload.github.com/slammayjammay/git-files/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240858578,"owners_count":19868998,"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":["es6","git","javascript","node"],"created_at":"2024-11-11T07:53:30.482Z","updated_at":"2026-04-16T14:02:00.167Z","avatar_url":"https://github.com/slammayjammay.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `git-files`\n\u003e Get all modified, deleted, staged, and untracked files\n\n```js\nconst gitFiles = require('git-files')\nconsole.log(gitFiles.all())\n```\n\nSpecify the path type you want: `full` (default), `relative`, or `absolute`.\n\n\n`full` paths give the file path from the root of the git directory, for example `src/js/index.js`.\n\n`relative` gives the the file path relative to the current working directory.\n\n`absolute` gives the entire file path from root.\n\nPass in the path type as a string.\n\n```js\ngitFiles.staged('full') // or gitFiles.staged()\ngitFiles.untracked('absolute')\ngitFiles.deleted('relative')\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslammayjammay%2Fgit-files","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fslammayjammay%2Fgit-files","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslammayjammay%2Fgit-files/lists"}