Skip to content

Commit

Permalink
feat!: move out anitomy
Browse files Browse the repository at this point in the history
  • Loading branch information
yjl9903 committed Jan 9, 2024
1 parent 61580b6 commit aa135f3
Show file tree
Hide file tree
Showing 34 changed files with 18 additions and 20,121 deletions.
50 changes: 1 addition & 49 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,62 +50,14 @@ Assume your environment has built-in [Fetch](https://developer.mozilla.org/en-US

You can check more filter conditions [FilterOptions](https://github.com/yjl9903/AnimeGarden/blob/main/packages/animegarden/src/garden/types.ts) and usage examples in [./scripts/](https://github.com/yjl9903/AnimeGarden/blob/main/scripts/) directory.

### anitomy

[![version](https://img.shields.io/npm/v/anitomy?label=anitomy)](https://www.npmjs.com/package/anitomy)

A TypeScript port of [Anitomy](https://github.com/erengy/anitomy) inspired by [AnitomySharp](https://github.com/tabratton/AnitomySharp) with more optimization for [動漫花園](https://share.dmhy.org/).

```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,
}
```

## Local Development

Follow [CONTRIBUTING.md](./CONTRIBUTING.md) to setup the environment and start developing.

## Related Projects

+ [AnimeSpace](https://github.com/yjl9903/AnimeSpace): Keep following your favourite anime
+ [Anitomy](https://github.com/yjl9903/anitomy): A TypeScript port of Anitomy inspired by AnitomySharp.
+ [bgmc](https://github.com/yjl9903/bgmc): Bangumi Data / API Clients

## Credits
Expand Down
67 changes: 0 additions & 67 deletions packages/anitomy/README.md

This file was deleted.

12 changes: 0 additions & 12 deletions packages/anitomy/build.config.ts

This file was deleted.

45 changes: 0 additions & 45 deletions packages/anitomy/package.json

This file was deleted.

36 changes: 0 additions & 36 deletions packages/anitomy/src/element.ts

This file was deleted.

154 changes: 0 additions & 154 deletions packages/anitomy/src/index.ts

This file was deleted.

Loading

0 comments on commit aa135f3

Please sign in to comment.