Coder Social home page Coder Social logo

bachig26 / consumet.ts Goto Github PK

View Code? Open in Web Editor NEW

This project forked from consumet/consumet.ts

0.0 0.0 0.0 2.97 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.01% TypeScript 99.99%

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)
})

Exmaple - 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

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

License

Licensed under MIT.

consumet.ts's People

Contributors

abdelaziz-mahdy avatar aidanjuma avatar bachig26 avatar codefactor-io[bot] avatar dependabot[bot] avatar dexter21767 avatar eltik avatar enimax-anime avatar errorerrorerror avatar ghoshritesh12 avatar hoangvu12 avatar hunt-g avatar illusiontba avatar inumakieu avatar jldev0 avatar layendan avatar luckyyam avatar nadecancode avatar notsagyo avatar prince-ao avatar riimuru avatar sodiumchloridy avatar tdanks2000 avatar thaunknown avatar thefallenspirit avatar vanelk avatar wearrrrr 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.