tsapis
Various cloud services API response types documented and written in TypeScript.
Motivation
Many great cloud services APIs do not have their own npm repositories, or even if they do, many of them are missing types.
This package is here to help you.
You are welcome to help typing all the great cloud services out there!
Get Started
npm install -D tsapis
or
yarn add -D tsapis
How to Use
import { IpwhoisResponse } from 'tsapis';
// ...later in code
const res: IpwhoisResponse = await axios.get('http://free.ipwhois.io/json/1.1.1.1').data;
Supported Services
IP Geolocation API:
User agent parsing service:
Contribute
Pull Requests are welcome!
Just try to be consistent with existing naming conventions and coding styles.
Names must be concise, easy to read, and precisely descriptive.
I've setup prettier, so make sure your codes are auto formatted according to my prettier setup.