API client and utils for AnimeGarden.
npm install animegarden


API client and utils for AnimeGarden.
``bash`
npm i @animegarden/client
`ts
import { fetchResources } from '@animegarden/client'
// Fetch the first page of Anime Garden mirror site
const resources = await fetchResources()
// Fetch all the resources which match some filter conditions
const sakurato = await fetchResources({ count: -1, fansub: 'ANi' })
``
Assume your environment has built-in Fetch. If not you can use undici or ofetch.
You can check more filter conditions FilterOptions and usage examples in ./scripts/ directory.
+ 動漫花園
+ Bangumi 番组计划
+ bangumi-data
+ erengy/anitomy
+ tabratton/AnitomySharp
AGPL-3.0 License © 2023 XLor