An open source API wrapper for TechHost API.
Install techhost-api-wrapper with npm.
npm install techhost-api-wrapper
const { Client } = require("techhost-api-wrapper");
const client = new Client();
client.cat().then(console.log);
import { Client } from "techhost-api-wrapper";
const client = new Client();
void client.cat().then(console.log);
Yes! It is written in TypeScript, so it also has typings support!
Node.JS v16 is required in order for the package to run smoothly.
- Cat endpoint
- Dog endpoint
- Fact endpoint
- Meme endpoint
- HTTP Code endpoint
- Reddit endpoint
- Screenshot endpoint
This project is licensed through the Apache-2.0 license.
If you have any feedback, please reach out to us at our Discord Server.
Contributions are always welcome! Open up a Pull Request or an Issue.
Please adhere to this project's code of conduct
.