# quotable-ts

> Wrapper for the quotable api by lukePeavey

Latest version **1.0.3** (published 2022-08-20) · ISC license · 0 weekly downloads

## Install

```sh
npm install quotable-ts
pnpm add quotable-ts
yarn add quotable-ts
bun add quotable-ts
```

## 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.0.3 |
| Published | 2022-08-20 |
| First published | 2022-08-20 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 50.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | J4yy |
| Maintainers | j4yy |
| Keywords | API, Wrapper, Quotable |

## Links

- npm: https://www.npmjs.com/package/quotable-ts
- Repository: https://github.com/J4yyy/quotable-ts
- Homepage: https://github.com/J4yyy/quotable-ts#readme
- Issues: https://github.com/J4yyy/quotable-ts/issues
- npm.io page: https://npm.io/package/quotable-ts

## Dependencies (1)

- [node-fetch](https://npm.io/package/node-fetch.md) ^2.6.1

## Alternatives

- [@lexical/table](https://npm.io/package/@lexical/table.md) — 3.0M weekly downloads
- [mantine-datatable](https://npm.io/package/mantine-datatable.md) — 98.2K weekly downloads
- [react-native-collapsible-tab-view](https://npm.io/package/react-native-collapsible-tab-view.md) — 70.6K weekly downloads
- [@handsontable/vue3](https://npm.io/package/@handsontable/vue3.md) — 16.1K weekly downloads
- [vuewordcloud](https://npm.io/package/vuewordcloud.md) — 7.2K weekly downloads

## Recent versions

- 1.0.3 (latest) — 2022-08-20
- 1.0.0 — 2022-08-20

## README

# quotable-ts
Wrapper for the quotable [API](https://github.com/lukePeavey/quotable)

## Import Library

``` ts
import { QuotableApi } from 'quotable-ts';
```

## Get Random Quote
```ts
const api = new QuotableApi();
console.log(await api.getRandomQuote());
```

## All requests that can be performed
- getRandomQuote()
- getQuoteList()
- getQuoteById()
- searchQuote()
- getAuthorList()
- getAuthorById()
- searchAuthors()
- getAllTags()

## Provide Parameter for Request
```ts
const api = new QuotableApi();
console.log(await api.getRandomQuote({
    author: 'Elbert Hubbard'
}));
```

To see what parameters you can give to the requests look at Documentation from [lukePeavey](https://github.com/lukePeavey/quotable#list-quotes)

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