# win-tfs

> Windows Team Foundation Server(TFS) version control via Node.js

Latest version **1.0.1** (published 2016-01-28) · ISC license · 0 weekly downloads

## Install

```sh
npm install win-tfs
pnpm add win-tfs
yarn add win-tfs
bun add win-tfs
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2016-01-28 |
| First published | 2016-01-28 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Wayne Patterson |
| Maintainers | suprsidr |
| Keywords | TFS |

## Links

- npm: https://www.npmjs.com/package/win-tfs
- Repository: https://github.com/suprsidr/win-tfs
- Homepage: https://github.com/suprsidr/win-tfs#readme
- Issues: https://github.com/suprsidr/win-tfs/issues
- npm.io page: https://npm.io/package/win-tfs

## Recent versions

- 1.0.1 (latest) — 2016-01-28
- 1.0.0 — 2016-01-28

## README

## Windows Team Foundation Server(TFS) version control via Node.js

  * No dependencies
  * Easy API
  * Intuitive
  * License: ISC

[![NPM Stats](https://nodei.co/npm/win-tfs.png?downloads=true&downloadRank=false)](https://npmjs.org/packages/win-tfs/)

## Install
```javascript
npm install win-tfs
```

## Usage
```javascript
var tfs = require('win-tfs'),
    path = require('path'),
    basePath = path.resolve('C:/User/suprsidr/project/files/'),
    exe = tfs.findVisualStudioPath() + 'tf.exe';

var paths = [
  path.join(basePath, 'file.json'),
  path.join(basePath, 'file.js')
];

var params = ['/login:tfsusername@domain,PASSWORD', '/comment:Updated from nodejs', '/noprompt'];

// get latest
tfs.get(exe, paths, params);

// checkout
tfs.checkout(exe, paths, params);

// checkin
tfs.checkin(exe, paths, params);

// undo checkout
tfs.undo(exe, paths, params);

```

All commands: get, add, delete, undelete, checkout, checkin, undo, rollback, history, workflod

---
_Source: https://npm.io/package/win-tfs · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
