# aghpb

> Anime girls holding programming books API wrapper for 🟦 TypeScript.

Latest version **1.1.0** (published 2024-07-08) · MIT license · 0 weekly downloads

## Install

```sh
npm install aghpb
pnpm add aghpb
yarn add aghpb
bun add aghpb
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.0 |
| Published | 2024-07-08 |
| First published | 2023-08-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 3.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Goldy |
| Maintainers | devgoldy |
| Keywords | anime, anime girls, anime girls holding programming books, aghpb |

## Links

- npm: https://www.npmjs.com/package/aghpb
- npm.io page: https://npm.io/package/aghpb

## Dependencies (1)

- [typescript](https://npm.io/package/typescript.md) ^5.1.6

## Recent versions

- 1.1.0 (latest) — 2024-07-08
- 1.0.5 — 2023-08-04
- 1.0.1 — 2023-08-03
- 1.0.0 — 2023-08-03

## README

<div align="center">

  # 🟦 aghpb.ts 📚
  <sub>Typescript API wrapper for the anime girls holding programming books [API](https://api.devgoldy.xyz/aghpb/v1/docs)</sub>

  [![npm](https://img.shields.io/npm/v/aghpb?style=flat)](https://www.npmjs.com/package/aghpb)

</div>

<div align="center">

  <img src="./assets/book_1.png" width="400px">

</div>

<br>

> [!Note]
> 
> This is part of my [aghpb api](https://github.com/THEGOLDENPRO/aghpb_api) wrapper challenge where I attempt to write an api wrapper in every language possible. So yes expect spaghetti code as it will be my first time writing in these languages. Although I'm 100% open to improvements and corrections so feel free to contribute anything.
> **[Other languages I've done](https://github.com/THEGOLDENPRO/aghpb_api#-api-wrappers)**

## Install
```typescript
npm install aghpb
```
The NPM package can be located [**here**](https://www.npmjs.com/package/aghpb).

## Examples
This is how you may retrieve a random anime girl holding a programming book:
```typescript
import * as fs from "fs";
import { Client } from "aghpb";

const client = new Client();

client.random().then(
    (book) => {
        console.log(`Name: ${book.name}`);
        console.log(`Category: ${book.category}`);
        console.log(`Date Added: ${book.dateAdded}`);

        const buffer = Buffer.from(book.image)

        fs.createWriteStream("./anime_girl.png").write(
            buffer
        );
    }
);
```
You can also retrieve specific categories of anime girls holding programming books like so:
```typescript
client.random("typescript");
```

<br>

This is how you may retrieve a list of available categories:
```typescript
import { Client } from "aghpb";

const client = new Client();

client.categories().then(
    (categories) => {
        categories.forEach((category) => {
            console.log(category);
        })
    }
);
```

Made using my API at 👉 https://api.devgoldy.xyz/aghpb/v1/

---
_Source: https://npm.io/package/aghpb · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
