1.1.0 • Published 7 years ago

fetch-client-node-sdk v1.1.0

Weekly downloads
1
License
ISC
Repository
github
Last release
7 years ago

fetch-client-node-sdk

A wrapper around isomorphic-fetch that provides utility functions

Installation

npm install fetch-client-node-sdk --save

Usage

TypeScript Example

import { fetchClient } from 'fetch-client-node-sdk';

export class MyService {
  
    createUser(req: CreateUserRequest): Promise<CreateUserResponse> {
      return fetchClient.post<CreateUserResponse>(`https://my-api/users`, {'content-type': 'application/json'}, req);
    }
    
}
1.1.0

7 years ago

1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago