1.1.0 • Published 6 months ago

vpro v1.1.0

Weekly downloads
-
License
GPL-3.0
Repository
github
Last release
6 months ago

Intel(R) vPro API Wrapper

version badge vuln badge

This is a TypeScript wrapper for the Intel(R) vPro API provided via the EMA platform.

Installation

Use npm to install this project.

npm install vpro

Usage

import { EndpointController, isError } from 'vpro';

// Instantiate your vPro Controller instance
let controller = new EndpointController(host, username, password);

// Authenticate with the API
let auth = await controller.authenticate(useDomainCredentials: boolean, grant_type?: 'password' | 'client_credentials');
if (isError(auth)) return null;

// Perform operations on your endpoints
let endpoints = await controller.getEndpoints({ where: endpoint => ... });
if (isError(endpoints)) return null;

...

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

Testing

In order to use the builtin Jest tests, you must rename the provided jest.setup-example.js to jest.setup.js and replace the example values with your test credentials.

License

GPL-3.0

1.1.0

6 months ago

1.0.9

6 months ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago