Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jupiterone/tenable-client-nodejs


https://github.com/jupiterone/tenable-client-nodejs

Last synced: 7 days ago
JSON representation

Awesome Lists containing this project

README

        

# tenable-client-nodejs

## Installation

```
# Install with NPM
> npm install @jupiterone/tenable-client-nodejs

# Install with Yarn
> yarn install @jupiterone/tenable-client-nodejs
```

## Usage

```typescript
import { TenableClient } from '@jupiterone/tenable-client-nodejs';

const client = new TenableClient({
// required for authentication
accessKey: 'access-key',
secretKey: 'access-key',
// required for the `user-agent` header
vendor: 'access-key',
product: 'access-key',
build: 'access-key',
});

client.fetchUsers()
.then((r) => console.log(r))
.catch((e) => console.error(e))
```