1.0.3 • Published 2 years ago

tomori v1.0.3

Weekly downloads
-
License
GPL-3.0
Repository
github
Last release
2 years ago
📖 Documentation

Install 📦

# using npm
npm i tomori
# using yarn
yarn add tomori
# using pnpm
pnpm add tomori

Usage 🔧

Check all available methods in 📖 Documentation.

import { API } from 'tomori'; // ESM
// OR
const { API } = require('tomori'); // CommonJS

// Create Shikimori API client, without auth 
const shikimori = new API();

shikimori.animes.get({
  search: 'восхождение в тени'
})
  .then(animes => animes.map(anime => `id: ${anime.id} | name: ${anime.name}`));

Thanks 🙏

PanSeek for help in creating types and interfaces for API