@rushelasli/jikants
v1.1.2
Published
TypeScript/JavaScript wrapper for the Jikan API v4 with built-in typings and caching support
Downloads
156
Maintainers
Readme
jikants
Jikan API wrapper for TypeScript and Node.js with built-in typing and automatic caching.
Features
- Fully typed with complete TypeScript definitions
- HTTP request caching with configurable TTL
- Logging support for debugging
- ESM with tree shaking support
- 100% endpoint coverage (all 101 Jikan API v4 endpoints)
Installation
npm install @rushelasli/jikants axios axios-cache-interceptoror
yarn add @rushelasli/jikants axios axios-cache-interceptoror
bun add @rushelasli/jikants axios axios-cache-interceptorQuick Start
import { JikanClient } from '@rushelasli/jikants';
const jikan = new JikanClient();
const anime = await jikan.anime.getAnimeById(1);
console.log(anime.data.title);Documentation
View the full documentation and examples on GitHub.
