Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

arq-js

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

arq-js - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

2

dist/index.d.ts

@@ -42,3 +42,3 @@ import * as t from './types';

*/
ph(query: string): Promise<t.PhDlResult>;
ph(query: string, page?: number, thumbSize?: string): Promise<t.PhDlResult>;
/**

@@ -45,0 +45,0 @@ * Download a PH video.

@@ -189,7 +189,9 @@ "use strict";

*/
_ARQ.prototype.ph = function (query) {
_ARQ.prototype.ph = function (query, page, thumbSize) {
if (page === void 0) { page = 1; }
if (thumbSize === void 0) { thumbSize = 'small'; }
return __awaiter(this, void 0, void 0, function () {
return __generator(this, function (_a) {
switch (_a.label) {
case 0: return [4 /*yield*/, this.fetch('ph', { query: query })];
case 0: return [4 /*yield*/, this.fetch('ph', { query: query, page: page, thumbSize: thumbSize })];
case 1: return [2 /*return*/, _a.sent()];

@@ -196,0 +198,0 @@ }

{
"name": "arq-js",
"version": "2.0.1",
"version": "2.0.2",
"description": "",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -27,18 +27,2 @@ # ARQJS

## Features as of now
1. Deezer
2. Jiosaavn
3. Youtube
4. PH
5. Reddit
6. Torrent
7. Wallpapers
8. Urban dictionary
9. Luna chat AI
10. Lyrics
11. Wikipedia
12. NSFW image classification
13. Optical Character Recognition (OCR)
## List of projects using this lib

@@ -45,0 +29,0 @@

@@ -96,4 +96,8 @@ import { encode } from 'querystring';

*/
async ph(query: string): Promise<t.PhDlResult> {
return await this.fetch('ph', { query });
async ph(
query: string,
page: number = 1,
thumbSize: string = 'small',
): Promise<t.PhDlResult> {
return await this.fetch('ph', { query, page, thumbSize });
}

@@ -100,0 +104,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc