https://github.com/yjl9903/anitomy
A TypeScript port of Anitomy inspired by AnitomySharp
https://github.com/yjl9903/anitomy
anime animegarden animespace anitomy anitomy-js bangumi dmhy typescript
Last synced: 2 months ago
JSON representation
A TypeScript port of Anitomy inspired by AnitomySharp
- Host: GitHub
- URL: https://github.com/yjl9903/anitomy
- Owner: yjl9903
- License: mit
- Created: 2024-01-09T17:04:56.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-17T22:04:22.000Z (2 months ago)
- Last Synced: 2025-03-18T09:42:25.432Z (2 months ago)
- Topics: anime, animegarden, animespace, anitomy, anitomy-js, bangumi, dmhy, typescript
- Language: TypeScript
- Homepage: https://garden.onekuma.cn/
- Size: 803 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Anitomy
[](https://www.npmjs.com/package/anitomy)
[](https://github.com/yjl9903/anitomy/blob/main/LICENSE)
[](https://github.com/yjl9903/anitomy/actions/workflows/ci.yml)A TypeScript port of [Anitomy](https://github.com/erengy/anitomy) inspired by [AnitomySharp](https://github.com/tabratton/AnitomySharp). All credits to [erengy](https://github.com/erengy) for the actual library.
More features:
+ Implemented without any dependencies, which supports run in Node.js, Deno, Bun, and Browser
+ Optimized for parsing Chinese torrent name from [動漫花園](https://share.dmhy.org/)> 👷♂️ Still work in progress.
## Installation
```bash
npm i anitomy
```## Usage
```ts
import { parse } from 'anitomy'const info = parse(`[Lilith-Raws] 熊熊勇闖異世界 PUNCH! / Kuma Kuma Kuma Bear S02 - 02 [Baha][WEB-DL][1080p][AVC AAC][CHT][MP4]`)
``````js
{
"audio": {
"term": "AAC",
},
"episode": {
"number": 2,
"numberAlt": undefined,
"title": undefined,
},
"file": {
"checksum": undefined,
"extension": "MP4",
"name": "[Lilith-Raws] 熊熊勇闖異世界 PUNCH! / Kuma Kuma Kuma Bear S02 - 02 [Baha][WEB-DL][1080p][AVC AAC][CHT][MP4]",
},
"language": "CHT",
"month": undefined,
"release": {
"group": "Lilith-Raws",
"version": undefined,
},
"season": "2",
"source": "WEB-DL",
"subtitles": undefined,
"title": "熊熊勇闖異世界 PUNCH! / Kuma Kuma Kuma Bear S02",
"type": undefined,
"video": {
"resolution": "1080p",
"term": "AVC",
},
"volume": {
"number": undefined,
},
"year": undefined,
}
```## Who is using?
+ [AnimeSpace](https://github.com/yjl9903/AnimeSpace): Keep following your favourite anime
+ [AnimeGarden](https://github.com/yjl9903/AnimeGarden): 動漫花園 3-rd party [mirror site](https://garden.onekuma.cn/) and API endpoint## License
MIT License © 2023 [XLor](https://github.com/yjl9903)