1.0.0-beta6 • Published 9 years ago

vsts-api v1.0.0-beta6

Weekly downloads
3
License
MIT
Repository
github
Last release
9 years ago

vsts-api

Build Status

Visual Studio Team Services and TFS client library for Node.js, loosely based on Infinity.NET.

Source

The project is built using TypeScript. You only need TypeScript installed (npm install -g typescript) to work with the source code.

To compile the project, simply run npm run build.

Unit Tests

Unit tests are created using Jasmine.

To run the test suite, simply run npm test.

Quick Start (TypeScript)

import { VstsClient, VstsConfiguration } from "vsts-api";

let configuration = new VstsConfiguration("https://myaccount.visualstudio.com/DefaultCollection", "user", "password");
let client = VstsClient.createFromConfiguration(configuration);

// Lists name of all projects
client.project.getProjects().then(result => {
    for (let project of result) {
        console.log(project.name);
    }
});

Quick Start (JavaScript)

let vs = require("vsts-api");

let configuration = new vs.VstsConfiguration("https://myaccount.visualstudio.com/DefaultCollection", "user", "password");
let client = vs.VstsClient.createFromConfiguration(configuration);

// Lists name of all projects
client.project.getProjects().then(result => {
    for (let project of result) {
        console.log(project.name);
    }
});

License

Copyright (c) Jeppe Andersen. All rights reserved.

Available under the MIT license (refer to the LICENSE file).

1.0.0-beta6

9 years ago

1.0.0-beta5

9 years ago

1.0.0-beta4

9 years ago

1.0.0-beta3

9 years ago

1.0.0-beta2

9 years ago

1.0.0-beta1

9 years ago