{"id":16188352,"url":"https://github.com/konsumer/tfs","last_synced_at":"2025-07-25T13:43:07.531Z","repository":{"id":142068172,"uuid":"47712372","full_name":"konsumer/tfs","owner":"konsumer","description":"Simple cross-platform TFS client \u0026 nodejs library","archived":false,"fork":false,"pushed_at":"2015-12-15T02:16:12.000Z","size":18047,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-13T16:22:31.360Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/konsumer.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":"2015-12-09T19:01:59.000Z","updated_at":"2017-06-08T02:59:49.000Z","dependencies_parsed_at":"2023-03-23T18:19:46.367Z","dependency_job_id":null,"html_url":"https://github.com/konsumer/tfs","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/konsumer%2Ftfs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/konsumer%2Ftfs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/konsumer%2Ftfs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/konsumer%2Ftfs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/konsumer","download_url":"https://codeload.github.com/konsumer/tfs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247662196,"owners_count":20975200,"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-10T07:26:08.427Z","updated_at":"2025-04-07T13:33:48.310Z","avatar_url":"https://github.com/konsumer.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tfs for node\r\n\r\nSimple cross-platform TFS client \u0026 nodejs library. This wraps [TEE](https://www.visualstudio.com/en-us/products/team-explorer-everywhere-vs.aspx) with a comfy node API and command-line client.\r\n\r\n* install global: `npm install -g konsumer/tfs`\r\n\r\n## library usage\r\n\r\n### ES6\r\n\r\n```js\r\nimport Tfs from 'tfs'\r\n\r\nconst tfs = new Tfs({\r\n  collection: \"\",\r\n  workspace: \"\",\r\n  login: \"\" // username@domain,password\r\n})\r\n\r\ntfs.get(['.'])\r\n  .then((out) =\u003e {\r\n    console.log(out)\r\n  })\r\n  .catch((err) =\u003e {\r\n    throw err\r\n  })\r\n```\r\n\r\n### ES5\r\n\r\n```js\r\nvar Tfs = require('tfs')\r\n\r\nvar tfs = new Tfs({\r\n  collection: \"\",\r\n  workspace: \"\",\r\n  login: \"\" // username@domain,password\r\n})\r\n\r\ntfs.get(['.'])\r\n  .then(function (out) {\r\n    console.log(out)\r\n  })\r\n  .catch(function (err) {\r\n    throw err\r\n  })\r\n\r\n```\r\n\r\n## command syntax\r\n\r\n```\r\ntfs add         Adds new files and folders from a local file system location\r\n               to Team Foundation version control.\r\n\r\ntfs branch      Copies an item or set of items, including metadata and version\r\n               control history, from one location to another on the Team\r\n               Foundation version control server and in the workspace.\r\n\r\ntfs branches    Displays the history of a branch for a specified file or folder.\r\n\r\ntfs changeset   Displays information about a changeset and lets you change the\r\n               associated attributes, such as comments and check-in notes.\r\n\r\ntfs checkin     Commits pending changes in the current workspace to Team\r\n               Foundation version control.\r\n\r\ntfs checkout    Makes the local file writable and changes its pending Change\r\n               status to \"edit\" in the workspace. Edit is an alias for the\r\n               Checkout command.\r\n\r\ntfs certificates  Configures how client authentication certificates are\r\n                 used when connecting to TFS through a secure connection.\r\n\r\ntfs configure   Enables an administrator to view and change the following\r\n               configuration settings for a team project in the Source Control\r\n               Settings dialog box:\r\n               - Check-out settings\r\n               - Check-in policies\r\n               - Check-in notes\r\n\r\ntfs connections Displays information about the registered Team Foundation\r\n               connections in the system, as well as perform actions to\r\n               remove a connection and switch the authenticated user of\r\n               a connection.\r\n\r\ntfs delete      Removes files and folders from Team Foundation version\r\n               control and deletes them from the disk.\r\n\r\ntfs destroy     Destroys, or permanently deletes, version-controlled files from\r\n               Team Foundation version control.\r\n\r\ntfs diff        Compares, and if it is possible, displays differences between\r\n               two files, files in two folders, or a shelveset and a local or\r\n               server file.\r\n\r\ntfs dir         Displays all or part of the contents of Team Foundation version\r\n               control.\r\n\r\ntfs folderdiff  Display a visual representation of the differences between files\r\n               in two server folders, in a server folder and a local folder, or\r\n               in two local folders.\r\n\r\ntfs get         Retrieves a read-only copy of a file from Team Foundation\r\n               Server to the workspace and creates folders on disk to contain\r\n               it.\r\n\r\ntfs history     Displays the revision history for one or more files and folders.\r\n\r\ntfs info        Displays information about items under version control.\r\n\r\ntfs label       Attaches a label to or removes a label from a version of a file\r\n               or folder in Team Foundation version control.\r\n\r\ntfs labels      Displays the list of labels in Team Foundation version control.\r\n\r\ntfs localversions  Displays the version of one or more items in a workspace.\r\n\r\ntfs lock        Locks or unlocks a file or folder to deny or restore the\r\n               permissions of users to check out an item for edit into\r\n               a different workspace or to check in pending changes to an item\r\n               from a different workspace.\r\n\r\ntfs merge       Applies changes from one branch into another.\r\n\r\ntfs merges      Displays detailed information about past merges between\r\n               the specified source and destination branches.\r\n\r\ntfs msdn        Launches the Microsoft Document Explorer to the documentation\r\n               page for the command.\r\n\r\ntfs permission  Modifies the user access control list (ACL) and displays\r\n               authorization settings for an item under version control.\r\n\r\ntfs property    Displays and pends changes on properties associated with items\r\n               under version control.\r\n\r\ntfs proxy       Configures the proxy setting automatically or manually. You\r\n               can also use the proxy command to add, delete, and list proxy\r\n               server records.\r\n\r\ntfs reconcile   Compares the current state of the workspace on disk with the\r\n               server's view, either to clean the workspace or to promote\r\n               unpended local changes.\r\n\r\ntfs rename      Changes the name or the path of a file or folder. You can use\r\n               the rename command or the alias move, to move a file or folder\r\n               to a new location.\r\n\r\ntfs resolve     Resolves conflicts between changed items in your workspace and\r\n               the latest or destination versions of items on the server.\r\n\r\ntfs rollback    Rolls back the changes in a single or a range of changesets.\r\n\r\ntfs shelve      Stores a set of pending changes, together with pending check-in\r\n               notes, a comment, and a list of associated work items in Team\r\n               Foundation Server without actually checking them into the\r\n               version control server.\r\n\r\ntfs shelvesets  Displays information about a set of shelved changes.\r\n\r\ntfs status      Displays information about pending changes to items in one or\r\n               more workspaces.\r\n\r\ntfs undelete    Restores items that were previously deleted.\r\n\r\ntfs undo        Removes pending changes from a workspace.\r\n\r\ntfs unlabel     Removes an item from an existing label in Team Foundation\r\n               version control.\r\n\r\ntfs unshelve    Restores shelved file revisions, check-in notes, comments, and\r\n               work item associations to the current workspace or removes\r\n               an existing shelveset from the server.\r\n\r\ntfs view        Retrieves a specific version of a file to a temporary folder on\r\n               your computer and displays it.\r\n\r\ntfs workfold    Creates, modifies, or displays information about the mappings\r\n               between your workspace folders and the Team Foundation version\r\n               control folders.\r\n\r\ntfs workspace   Creates, deletes, displays, or modifies properties and mappings\r\n               associated with a workspace.\r\n\r\ntfs workspaces  Displays information about workspaces in the system and updates\r\n               cached information about a user name or computer name change on\r\n               Team Foundation Server.\r\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkonsumer%2Ftfs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkonsumer%2Ftfs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkonsumer%2Ftfs/lists"}