bgmt
v0.3.2
Published
Bangumi Data Toolkit
Readme
bgmt
Shared bangumi helper functions used by bgmx.
Installation
npm i bgmtUsage
CDN
You can use the following APIs to fetch the latest bgmd data from cdn.
import { fetchBasicSubjects, fetchFullSubjects, fetchCalendarSubjects } from 'bgmt/cdn'
// https://unpkg.com/bgmd@0/dist/index.json
await fetchBasicSubjects()
// https://unpkg.com/bgmd@0/dist/full.json
await fetchFullSubjects()
// https://unpkg.com/bgmd@0/dist/calendar.json
await fetchCalendarSubjects()Utilities
WIP
trimSeason('xxx 第二季')
// ...License
MIT License © 2024 XLor
