consumet
所属分类:Node.js
开发工具:TypeScript
文件大小:0KB
下载次数:0
上传日期:2023-07-06 12:16:25
上 传 者:
sh-1993
说明: Nodejs库,提供高级API,用于获取各种娱乐媒体(如书籍、电影、漫画书......)的信息,...,
(Nodejs library that provides high-level APIs for obtaining information on various entertainment media such as books, movies, comic books, anime, manga, and so on.)
文件列表:
.commitlintrc.json (480, 2023-12-20)
.editorconfig (133, 2023-12-20)
.husky/ (0, 2023-12-20)
.husky/pre-commit (80, 2023-12-20)
.npmignore (30, 2023-12-20)
.prettierignore (128, 2023-12-20)
.prettierrc.yml (166, 2023-12-20)
CHANGELOG.md (34329, 2023-12-20)
CODE_OF_CONDUCT.md (5224, 2023-12-20)
CONTRIBUTING.md (6029, 2023-12-20)
LICENSE (35149, 2023-12-20)
dist/ (0, 2023-12-20)
dist/extractors/ (0, 2023-12-20)
dist/extractors/asianload.d.ts (423, 2023-12-20)
dist/extractors/asianload.js (3319, 2023-12-20)
dist/extractors/asianload.js.map (2717, 2023-12-20)
dist/extractors/bilibili.d.ts (419, 2023-12-20)
dist/extractors/bilibili.js (3390, 2023-12-20)
dist/extractors/bilibili.js.map (2289, 2023-12-20)
dist/extractors/filemoon.d.ts (300, 2023-12-20)
dist/extractors/filemoon.js (1177, 2023-12-20)
... ...
consumet.ts
consumet.ts is a Node library which provides high-level APIs to get information about several entertainment mediums like books, movies, comics, anime, manga, etc.
Table of Contents
- [Quick Start](https://github.com/consumet/consumet.ts/blob/master/#quick-start)
- [Installation](https://github.com/consumet/consumet.ts/blob/master/#installation)
- [Usage](https://github.com/consumet/consumet.ts/blob/master/#usage)
- [Documentation](https://github.com/consumet/consumet.ts/blob/master/#documentation)
- [Ecosystem](https://github.com/consumet/consumet.ts/blob/master/#ecosystem)
- [Provider Request](https://github.com/consumet/consumet.ts/blob/master/#provider-request)
- [Contributing](https://github.com/consumet/consumet.ts/blob/master/#contributing)
- [Support](https://github.com/consumet/consumet.ts/blob/master/#support)
- [Contributors ](https://github.com/consumet/consumet.ts/blob/master/#contributors-)
- [Credits](https://github.com/consumet/consumet.ts/blob/master/#credits)
- [License](https://github.com/consumet/consumet.ts/blob/master/#license)
## Quick Start
### Installation
To use consumet.ts in your project, run:
```bash
yarn add @consumet/extensions
# or "npm i @consumet/extensions"
```
### Usage
**Example** - searching for a book using the libgen provider.
```ts
import { BOOKS } from "@consumet/extensions"
// Create a new instance of the Libgen provider
const books = new BOOKS.Libgen();
// Search for a book. In this case, "Pride and Prejudice"
const data = books.search('pride and prejudice').then(data => {
// print results
console.log(data)
})
```
**Example** - searching for anime using the gogoanime provider.
```ts
import { ANIME } from "@consumet/extensions"
// Create a new instance of the Gogoanime provider
const gogoanime = new ANIME.Gogoanime();
// Search for an anime. In this case, "One Piece"
const results = gogoanime.search("One Piece").then(data => {
// print results
console.log(data);
})
```
Do you want to know more? Head to the [`Getting Started`](https://github.com/consumet/consumet.ts/blob/master/https://github.com/consumet/consumet.ts/tree/master/docs/guides/getting-started.md).
## Documentation
- [`Getting Started`](https://github.com/consumet/consumet.ts/blob/master/./docs/guides/getting-started.md)
- [`Guides`](https://github.com/consumet/consumet.ts/blob/master/https://github.com/consumet/consumet.ts/tree/master/docs)
- [`Anime`](https://github.com/consumet/consumet.ts/blob/master/./docs/guides/anime.md)
- [`Manga`](https://github.com/consumet/consumet.ts/blob/master/./docs/guides/manga.md)
- [`Books`](https://github.com/consumet/consumet.ts/blob/master/./docs/guides/books.md)
- [`Movies`](https://github.com/consumet/consumet.ts/blob/master/./docs/guides/movies.md)
- [`Light Novels`](https://github.com/consumet/consumet.ts/blob/master/./docs/guides/light-novels.md)
- [`Comics`](https://github.com/consumet/consumet.ts/blob/master/./docs/guides/comics.md)
- [`Meta`](https://github.com/consumet/consumet.ts/blob/master/./docs/guides/meta.md)
- [`News`](https://github.com/consumet/consumet.ts/blob/master/./docs/guides/news.md)
## Ecosystem
- [Rest-API Reference](https://github.com/consumet/consumet.ts/blob/master/https://docs.consumet.org/) - public rest api documentation
- [Examples](https://github.com/consumet/consumet.ts/blob/master/https://github.com/consumet/consumet.ts/tree/master/examples) - examples of using consumet.ts.
- [Provider Status](https://github.com/consumet/consumet.ts/blob/master/https://github.com/consumet/providers-status/blob/main/README.md) - A list of providers and their status.
- [Changelog](https://github.com/consumet/consumet.ts/blob/master/https://github.com/consumet/consumet.ts/blob/master/CHANGELOG.md) - See the latest changes.
- [Discord Server](https://github.com/consumet/consumet.ts/blob/master/https://discord.gg/qTPfvMxzNH) - Join our discord server and chat with the maintainers.
## Provider Request
Make a new [issue](https://github.com/consumet/consumet.ts/blob/master/https://github.com/consumet/consumet.ts/issues/new?assignees=&labels=provider+request&template=provider-request.yml) with the name of the provider on the title, as well as a link to the provider in the body paragraph.
## Contributing
Check out [contributing guide](https://github.com/consumet/consumet.ts/blob/master/https://github.com/consumet/consumet.ts/blob/master/CONTRIBUTING.md) to get an overview of consumet.ts development.
## Support
You can contact the maintainers of consumet.ts via [email](https://github.com/consumet/consumet.ts/blob/master/mailto:consumet.org@gmail.com), or [join the discord server](https://github.com/consumet/consumet.ts/blob/master/https://discord.gg/qTPfvMxzNH) (Recommended).
## Contributors
Thanks to the following people for keeping this project alive and thriving.
[![](https://github.com/consumet/consumet.ts/blob/master/https://contrib.rocks/image?repo=consumet/consumet.ts)](https://github.com/consumet/consumet.ts/blob/master/https://github.com/consumet/consumet.ts/graphs/contributors)
### Credits
- [Anify API](https://github.com/consumet/consumet.ts/blob/master/https://github.com/Eltik/Anify) - Used as a caching layer for the meta/anilist provider to speed up responses.
## License
Licensed under [MIT](https://github.com/consumet/consumet.ts/blob/master/./LICENSE).
近期下载者:
相关文件:
收藏者: