New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

npmanga

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

npmanga

A package that allows you to fetch data from any manga.

latest
Source
npmnpm
Version
1.2.1
Version published
Maintainers
1
Created
Source

Npmanga

A package that allows you to fetch data from any manga.

Use

Fetch data from a single tome :

const npmanga = require("npmanga");
npmanga.fetchTome(mangaName, tomeNumber);
/*
* response = {
*  url,  
*  title,  
*  releaseDate,
*  pageNumber,
*  price,
*  summary,
*  chapters,
*  released
* }
*/

if a tome isn't yet released, the response will only contain the url and the title of the tome.

Fetch data from a manga :

const npmanga = require("npmanga");
npmanga.fetchManga(mangaName, retrieveTomes=false);
/*
*  response = {
*   url,
*   title,
*   imageUrl,
*   releaseYear,
*   type,
*   genres,
*   themes,
*   author,
*   editor,
*   tomeNumber,
*   price,
*   age,
*   tomes
* };
*/

You can retrieves the informations of every tome of a manga by passing retrieveTomes=true.

Keywords

manga

FAQs

Package last updated on 28 May 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts