UNPKG

doggo.js

Version:

Typed client for Doggo.Ninja's public API

21 lines (15 loc) 402 B
# Doggo.js A fully-typed JavaScript client for [Pat](https://pat.doggo.ninja/v1/docs), Doggo.Ninja's public API. This package is unstable until Project Wolfsbane is fully released. ``` bash # NPM npm install doggo.js # Yarn yarn add doggo.js ``` ```ts import { PatClient } from 'doggo.js' const pat = new PatClient() pat.authenticate('token') // No error checking console.log(await pat.me()) ```