Giter VIP home page Giter VIP logo

dhelbegor / consumet.ts Goto Github PK

View Code? Open in Web Editor NEW

This project forked from consumet/consumet.ts

0.0 0.0 2.0 3.19 MB

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.

Home Page: https://consumet.org/extensions/list/

License: GNU General Public License v3.0

Shell 0.02% TypeScript 99.98%

consumet.ts's Introduction

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.

npm (scoped) npm (scoped) Prs are welcome Discord GitHub

Table of Contents

Quick Start

Installation

To use consumet.ts in your project, run:

yarn add @consumet/extensions
# or "npm i @consumet/extensions"

Usage

Example - searching for a book using the libgen provider.

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.

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.

Documentation

Ecosystem

Provider Request

Make a new issue 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 to get an overview of consumet.ts development.

Support

You can contact the maintainers of consumet.ts via email, or join the discord server (Recommended).

Contributors ✨

Thanks to the following people for keeping this project alive and thriving.

Credits

  • Anify API - Used as a caching layer for the meta/anilist provider to speed up responses.

License

Licensed under MIT.

consumet.ts's People

Contributors

riimuru avatar tdanks2000 avatar prince-ao avatar inumakieu avatar enimax-anime avatar eltik avatar dependabot[bot] avatar errorerrorerror avatar aidanjuma avatar jldev0 avatar hase0278 avatar raghav1729 avatar wearrrrr avatar bitknox avatar hoangvu12 avatar aleganza avatar shubham7101 avatar xenrisezph avatar codefactor-io[bot] avatar ih7sn0w avatar illusiontba avatar code-factor avatar vanelk avatar saulojoab avatar ghoshritesh12 avatar parnexcodes avatar tanwarjigyasu avatar artikronisz avatar dhelbegor avatar luckyyam avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.