1.0.0 • Published 4 years ago

aruba-netedit v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

aruba-netedit

Superagent utilities for interacting with the Aruba NetEdit REST API

Installation

$ npm install aruba-netedit

Usage

import { useClient } from 'aruba-netedit';

function requestGetImages(client) {
  return client
    .get('/images')
    .query({ size: 50 });
}

const response = await useClient({ fn: requestGetImages });

Testing

Tests are performed on an actual Aruba NetEdit server whose credentials are defined by environment variables.

$ ARUBA_NETEDIT_HOST=... npm test
1.0.0

4 years ago