rahad-all-downloader 2.1.1 → 2.1.3
Sign up to get free protection for your applications and to get access to all the features.
- package/.cache/typescript/5.4/node_modules/.package-lock.json +110 -0
- package/.cache/typescript/5.4/node_modules/@types/caseless/LICENSE +21 -0
- package/.cache/typescript/5.4/node_modules/@types/caseless/README.md +48 -0
- package/.cache/typescript/5.4/node_modules/@types/caseless/index.d.ts +29 -0
- package/.cache/typescript/5.4/node_modules/@types/caseless/package.json +35 -0
- package/.cache/typescript/5.4/node_modules/@types/node-fetch/LICENSE +21 -0
- package/.cache/typescript/5.4/node_modules/@types/node-fetch/README.md +15 -0
- package/.cache/typescript/5.4/node_modules/@types/node-fetch/externals.d.ts +32 -0
- package/.cache/typescript/5.4/node_modules/@types/node-fetch/index.d.ts +238 -0
- package/.cache/typescript/5.4/node_modules/@types/node-fetch/package.json +83 -0
- package/.cache/typescript/5.4/node_modules/@types/request/LICENSE +21 -0
- package/.cache/typescript/5.4/node_modules/@types/request/README.md +15 -0
- package/.cache/typescript/5.4/node_modules/@types/request/index.d.ts +395 -0
- package/.cache/typescript/5.4/node_modules/@types/request/node_modules/form-data/License +19 -0
- package/.cache/typescript/5.4/node_modules/@types/request/node_modules/form-data/README.md +350 -0
- package/.cache/typescript/5.4/node_modules/@types/request/node_modules/form-data/README.md.bak +350 -0
- package/.cache/typescript/5.4/node_modules/@types/request/node_modules/form-data/index.d.ts +51 -0
- package/.cache/typescript/5.4/node_modules/@types/request/node_modules/form-data/lib/browser.js +2 -0
- package/.cache/typescript/5.4/node_modules/@types/request/node_modules/form-data/lib/form_data.js +483 -0
- package/.cache/typescript/5.4/node_modules/@types/request/node_modules/form-data/lib/populate.js +10 -0
- package/.cache/typescript/5.4/node_modules/@types/request/node_modules/form-data/package.json +68 -0
- package/.cache/typescript/5.4/node_modules/@types/request/package.json +70 -0
- package/.cache/typescript/5.4/node_modules/@types/tough-cookie/LICENSE +21 -0
- package/.cache/typescript/5.4/node_modules/@types/tough-cookie/README.md +15 -0
- package/.cache/typescript/5.4/node_modules/@types/tough-cookie/index.d.ts +321 -0
- package/.cache/typescript/5.4/node_modules/@types/tough-cookie/package.json +35 -0
- package/.cache/typescript/5.4/node_modules/asynckit/LICENSE +21 -0
- package/.cache/typescript/5.4/node_modules/asynckit/README.md +233 -0
- package/.cache/typescript/5.4/node_modules/asynckit/bench.js +76 -0
- package/.cache/typescript/5.4/node_modules/asynckit/index.js +6 -0
- package/.cache/typescript/5.4/node_modules/asynckit/lib/abort.js +29 -0
- package/.cache/typescript/5.4/node_modules/asynckit/lib/async.js +34 -0
- package/.cache/typescript/5.4/node_modules/asynckit/lib/defer.js +26 -0
- package/.cache/typescript/5.4/node_modules/asynckit/lib/iterate.js +75 -0
- package/.cache/typescript/5.4/node_modules/asynckit/lib/readable_asynckit.js +91 -0
- package/.cache/typescript/5.4/node_modules/asynckit/lib/readable_parallel.js +25 -0
- package/.cache/typescript/5.4/node_modules/asynckit/lib/readable_serial.js +25 -0
- package/.cache/typescript/5.4/node_modules/asynckit/lib/readable_serial_ordered.js +29 -0
- package/.cache/typescript/5.4/node_modules/asynckit/lib/state.js +37 -0
- package/.cache/typescript/5.4/node_modules/asynckit/lib/streamify.js +141 -0
- package/.cache/typescript/5.4/node_modules/asynckit/lib/terminator.js +29 -0
- package/.cache/typescript/5.4/node_modules/asynckit/package.json +63 -0
- package/.cache/typescript/5.4/node_modules/asynckit/parallel.js +43 -0
- package/.cache/typescript/5.4/node_modules/asynckit/serial.js +17 -0
- package/.cache/typescript/5.4/node_modules/asynckit/serialOrdered.js +75 -0
- package/.cache/typescript/5.4/node_modules/asynckit/stream.js +21 -0
- package/.cache/typescript/5.4/node_modules/combined-stream/License +19 -0
- package/.cache/typescript/5.4/node_modules/combined-stream/Readme.md +138 -0
- package/.cache/typescript/5.4/node_modules/combined-stream/lib/combined_stream.js +208 -0
- package/.cache/typescript/5.4/node_modules/combined-stream/package.json +25 -0
- package/.cache/typescript/5.4/node_modules/combined-stream/yarn.lock +17 -0
- package/.cache/typescript/5.4/node_modules/delayed-stream/License +19 -0
- package/.cache/typescript/5.4/node_modules/delayed-stream/Makefile +7 -0
- package/.cache/typescript/5.4/node_modules/delayed-stream/Readme.md +141 -0
- package/.cache/typescript/5.4/node_modules/delayed-stream/lib/delayed_stream.js +107 -0
- package/.cache/typescript/5.4/node_modules/delayed-stream/package.json +27 -0
- package/.cache/typescript/5.4/node_modules/form-data/License +19 -0
- package/.cache/typescript/5.4/node_modules/form-data/README.md.bak +358 -0
- package/.cache/typescript/5.4/node_modules/form-data/Readme.md +358 -0
- package/.cache/typescript/5.4/node_modules/form-data/index.d.ts +62 -0
- package/.cache/typescript/5.4/node_modules/form-data/lib/browser.js +2 -0
- package/.cache/typescript/5.4/node_modules/form-data/lib/form_data.js +501 -0
- package/.cache/typescript/5.4/node_modules/form-data/lib/populate.js +10 -0
- package/.cache/typescript/5.4/node_modules/form-data/package.json +68 -0
- package/.cache/typescript/5.4/node_modules/mime-db/HISTORY.md +507 -0
- package/.cache/typescript/5.4/node_modules/mime-db/LICENSE +23 -0
- package/.cache/typescript/5.4/node_modules/mime-db/README.md +100 -0
- package/.cache/typescript/5.4/node_modules/mime-db/db.json +8519 -0
- package/.cache/typescript/5.4/node_modules/mime-db/index.js +12 -0
- package/.cache/typescript/5.4/node_modules/mime-db/package.json +60 -0
- package/.cache/typescript/5.4/node_modules/mime-types/HISTORY.md +397 -0
- package/.cache/typescript/5.4/node_modules/mime-types/LICENSE +23 -0
- package/.cache/typescript/5.4/node_modules/mime-types/README.md +113 -0
- package/.cache/typescript/5.4/node_modules/mime-types/index.js +188 -0
- package/.cache/typescript/5.4/node_modules/mime-types/package.json +44 -0
- package/.cache/typescript/5.4/package-lock.json +113 -1
- package/.cache/typescript/5.4/package.json +1 -1
- package/README.md +1 -1
- package/package.json +21 -2
@@ -0,0 +1,188 @@
|
|
1
|
+
/*!
|
2
|
+
* mime-types
|
3
|
+
* Copyright(c) 2014 Jonathan Ong
|
4
|
+
* Copyright(c) 2015 Douglas Christopher Wilson
|
5
|
+
* MIT Licensed
|
6
|
+
*/
|
7
|
+
|
8
|
+
'use strict'
|
9
|
+
|
10
|
+
/**
|
11
|
+
* Module dependencies.
|
12
|
+
* @private
|
13
|
+
*/
|
14
|
+
|
15
|
+
var db = require('mime-db')
|
16
|
+
var extname = require('path').extname
|
17
|
+
|
18
|
+
/**
|
19
|
+
* Module variables.
|
20
|
+
* @private
|
21
|
+
*/
|
22
|
+
|
23
|
+
var EXTRACT_TYPE_REGEXP = /^\s*([^;\s]*)(?:;|\s|$)/
|
24
|
+
var TEXT_TYPE_REGEXP = /^text\//i
|
25
|
+
|
26
|
+
/**
|
27
|
+
* Module exports.
|
28
|
+
* @public
|
29
|
+
*/
|
30
|
+
|
31
|
+
exports.charset = charset
|
32
|
+
exports.charsets = { lookup: charset }
|
33
|
+
exports.contentType = contentType
|
34
|
+
exports.extension = extension
|
35
|
+
exports.extensions = Object.create(null)
|
36
|
+
exports.lookup = lookup
|
37
|
+
exports.types = Object.create(null)
|
38
|
+
|
39
|
+
// Populate the extensions/types maps
|
40
|
+
populateMaps(exports.extensions, exports.types)
|
41
|
+
|
42
|
+
/**
|
43
|
+
* Get the default charset for a MIME type.
|
44
|
+
*
|
45
|
+
* @param {string} type
|
46
|
+
* @return {boolean|string}
|
47
|
+
*/
|
48
|
+
|
49
|
+
function charset (type) {
|
50
|
+
if (!type || typeof type !== 'string') {
|
51
|
+
return false
|
52
|
+
}
|
53
|
+
|
54
|
+
// TODO: use media-typer
|
55
|
+
var match = EXTRACT_TYPE_REGEXP.exec(type)
|
56
|
+
var mime = match && db[match[1].toLowerCase()]
|
57
|
+
|
58
|
+
if (mime && mime.charset) {
|
59
|
+
return mime.charset
|
60
|
+
}
|
61
|
+
|
62
|
+
// default text/* to utf-8
|
63
|
+
if (match && TEXT_TYPE_REGEXP.test(match[1])) {
|
64
|
+
return 'UTF-8'
|
65
|
+
}
|
66
|
+
|
67
|
+
return false
|
68
|
+
}
|
69
|
+
|
70
|
+
/**
|
71
|
+
* Create a full Content-Type header given a MIME type or extension.
|
72
|
+
*
|
73
|
+
* @param {string} str
|
74
|
+
* @return {boolean|string}
|
75
|
+
*/
|
76
|
+
|
77
|
+
function contentType (str) {
|
78
|
+
// TODO: should this even be in this module?
|
79
|
+
if (!str || typeof str !== 'string') {
|
80
|
+
return false
|
81
|
+
}
|
82
|
+
|
83
|
+
var mime = str.indexOf('/') === -1
|
84
|
+
? exports.lookup(str)
|
85
|
+
: str
|
86
|
+
|
87
|
+
if (!mime) {
|
88
|
+
return false
|
89
|
+
}
|
90
|
+
|
91
|
+
// TODO: use content-type or other module
|
92
|
+
if (mime.indexOf('charset') === -1) {
|
93
|
+
var charset = exports.charset(mime)
|
94
|
+
if (charset) mime += '; charset=' + charset.toLowerCase()
|
95
|
+
}
|
96
|
+
|
97
|
+
return mime
|
98
|
+
}
|
99
|
+
|
100
|
+
/**
|
101
|
+
* Get the default extension for a MIME type.
|
102
|
+
*
|
103
|
+
* @param {string} type
|
104
|
+
* @return {boolean|string}
|
105
|
+
*/
|
106
|
+
|
107
|
+
function extension (type) {
|
108
|
+
if (!type || typeof type !== 'string') {
|
109
|
+
return false
|
110
|
+
}
|
111
|
+
|
112
|
+
// TODO: use media-typer
|
113
|
+
var match = EXTRACT_TYPE_REGEXP.exec(type)
|
114
|
+
|
115
|
+
// get extensions
|
116
|
+
var exts = match && exports.extensions[match[1].toLowerCase()]
|
117
|
+
|
118
|
+
if (!exts || !exts.length) {
|
119
|
+
return false
|
120
|
+
}
|
121
|
+
|
122
|
+
return exts[0]
|
123
|
+
}
|
124
|
+
|
125
|
+
/**
|
126
|
+
* Lookup the MIME type for a file path/extension.
|
127
|
+
*
|
128
|
+
* @param {string} path
|
129
|
+
* @return {boolean|string}
|
130
|
+
*/
|
131
|
+
|
132
|
+
function lookup (path) {
|
133
|
+
if (!path || typeof path !== 'string') {
|
134
|
+
return false
|
135
|
+
}
|
136
|
+
|
137
|
+
// get the extension ("ext" or ".ext" or full path)
|
138
|
+
var extension = extname('x.' + path)
|
139
|
+
.toLowerCase()
|
140
|
+
.substr(1)
|
141
|
+
|
142
|
+
if (!extension) {
|
143
|
+
return false
|
144
|
+
}
|
145
|
+
|
146
|
+
return exports.types[extension] || false
|
147
|
+
}
|
148
|
+
|
149
|
+
/**
|
150
|
+
* Populate the extensions and types maps.
|
151
|
+
* @private
|
152
|
+
*/
|
153
|
+
|
154
|
+
function populateMaps (extensions, types) {
|
155
|
+
// source preference (least -> most)
|
156
|
+
var preference = ['nginx', 'apache', undefined, 'iana']
|
157
|
+
|
158
|
+
Object.keys(db).forEach(function forEachMimeType (type) {
|
159
|
+
var mime = db[type]
|
160
|
+
var exts = mime.extensions
|
161
|
+
|
162
|
+
if (!exts || !exts.length) {
|
163
|
+
return
|
164
|
+
}
|
165
|
+
|
166
|
+
// mime -> extensions
|
167
|
+
extensions[type] = exts
|
168
|
+
|
169
|
+
// extension -> mime
|
170
|
+
for (var i = 0; i < exts.length; i++) {
|
171
|
+
var extension = exts[i]
|
172
|
+
|
173
|
+
if (types[extension]) {
|
174
|
+
var from = preference.indexOf(db[types[extension]].source)
|
175
|
+
var to = preference.indexOf(mime.source)
|
176
|
+
|
177
|
+
if (types[extension] !== 'application/octet-stream' &&
|
178
|
+
(from > to || (from === to && types[extension].substr(0, 12) === 'application/'))) {
|
179
|
+
// skip the remapping
|
180
|
+
continue
|
181
|
+
}
|
182
|
+
}
|
183
|
+
|
184
|
+
// set the extension -> mime
|
185
|
+
types[extension] = type
|
186
|
+
}
|
187
|
+
})
|
188
|
+
}
|
@@ -0,0 +1,44 @@
|
|
1
|
+
{
|
2
|
+
"name": "mime-types",
|
3
|
+
"description": "The ultimate javascript content-type utility.",
|
4
|
+
"version": "2.1.35",
|
5
|
+
"contributors": [
|
6
|
+
"Douglas Christopher Wilson <doug@somethingdoug.com>",
|
7
|
+
"Jeremiah Senkpiel <fishrock123@rocketmail.com> (https://searchbeam.jit.su)",
|
8
|
+
"Jonathan Ong <me@jongleberry.com> (http://jongleberry.com)"
|
9
|
+
],
|
10
|
+
"license": "MIT",
|
11
|
+
"keywords": [
|
12
|
+
"mime",
|
13
|
+
"types"
|
14
|
+
],
|
15
|
+
"repository": "jshttp/mime-types",
|
16
|
+
"dependencies": {
|
17
|
+
"mime-db": "1.52.0"
|
18
|
+
},
|
19
|
+
"devDependencies": {
|
20
|
+
"eslint": "7.32.0",
|
21
|
+
"eslint-config-standard": "14.1.1",
|
22
|
+
"eslint-plugin-import": "2.25.4",
|
23
|
+
"eslint-plugin-markdown": "2.2.1",
|
24
|
+
"eslint-plugin-node": "11.1.0",
|
25
|
+
"eslint-plugin-promise": "5.2.0",
|
26
|
+
"eslint-plugin-standard": "4.1.0",
|
27
|
+
"mocha": "9.2.2",
|
28
|
+
"nyc": "15.1.0"
|
29
|
+
},
|
30
|
+
"files": [
|
31
|
+
"HISTORY.md",
|
32
|
+
"LICENSE",
|
33
|
+
"index.js"
|
34
|
+
],
|
35
|
+
"engines": {
|
36
|
+
"node": ">= 0.6"
|
37
|
+
},
|
38
|
+
"scripts": {
|
39
|
+
"lint": "eslint .",
|
40
|
+
"test": "mocha --reporter spec test/test.js",
|
41
|
+
"test-ci": "nyc --reporter=lcov --reporter=text npm test",
|
42
|
+
"test-cov": "nyc --reporter=html --reporter=text npm test"
|
43
|
+
}
|
44
|
+
}
|
@@ -9,7 +9,9 @@
|
|
9
9
|
},
|
10
10
|
"devDependencies": {
|
11
11
|
"@types/express": "^4.17.21",
|
12
|
-
"@types/
|
12
|
+
"@types/node-fetch": "^2.6.11",
|
13
|
+
"@types/qs": "^6.9.15",
|
14
|
+
"@types/request": "^2.48.12"
|
13
15
|
}
|
14
16
|
},
|
15
17
|
"node_modules/@types/body-parser": {
|
@@ -22,6 +24,12 @@
|
|
22
24
|
"@types/node": "*"
|
23
25
|
}
|
24
26
|
},
|
27
|
+
"node_modules/@types/caseless": {
|
28
|
+
"version": "0.12.5",
|
29
|
+
"resolved": "https://registry.npmjs.org/@types/caseless/-/caseless-0.12.5.tgz",
|
30
|
+
"integrity": "sha512-hWtVTC2q7hc7xZ/RLbxapMvDMgUnDvKvMOpKal4DrMyfGBUfB1oKaZlIRr6mJL+If3bAP6sV/QneGzF6tJjZDg==",
|
31
|
+
"dev": true
|
32
|
+
},
|
25
33
|
"node_modules/@types/connect": {
|
26
34
|
"version": "3.4.38",
|
27
35
|
"resolved": "https://registry.npmjs.org/@types/connect/-/connect-3.4.38.tgz",
|
@@ -76,6 +84,16 @@
|
|
76
84
|
"undici-types": "~5.26.4"
|
77
85
|
}
|
78
86
|
},
|
87
|
+
"node_modules/@types/node-fetch": {
|
88
|
+
"version": "2.6.11",
|
89
|
+
"resolved": "https://registry.npmjs.org/@types/node-fetch/-/node-fetch-2.6.11.tgz",
|
90
|
+
"integrity": "sha512-24xFj9R5+rfQJLRyM56qh+wnVSYhyXC2tkoBndtY0U+vubqNsYXGjufB2nn8Q6gt0LrARwL6UBtMCSVCwl4B1g==",
|
91
|
+
"dev": true,
|
92
|
+
"dependencies": {
|
93
|
+
"@types/node": "*",
|
94
|
+
"form-data": "^4.0.0"
|
95
|
+
}
|
96
|
+
},
|
79
97
|
"node_modules/@types/qs": {
|
80
98
|
"version": "6.9.15",
|
81
99
|
"resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.15.tgz",
|
@@ -88,6 +106,32 @@
|
|
88
106
|
"integrity": "sha512-hKormJbkJqzQGhziax5PItDUTMAM9uE2XXQmM37dyd4hVM+5aVl7oVxMVUiVQn2oCQFN/LKCZdvSM0pFRqbSmQ==",
|
89
107
|
"dev": true
|
90
108
|
},
|
109
|
+
"node_modules/@types/request": {
|
110
|
+
"version": "2.48.12",
|
111
|
+
"resolved": "https://registry.npmjs.org/@types/request/-/request-2.48.12.tgz",
|
112
|
+
"integrity": "sha512-G3sY+NpsA9jnwm0ixhAFQSJ3Q9JkpLZpJbI3GMv0mIAT0y3mRabYeINzal5WOChIiaTEGQYlHOKgkaM9EisWHw==",
|
113
|
+
"dev": true,
|
114
|
+
"dependencies": {
|
115
|
+
"@types/caseless": "*",
|
116
|
+
"@types/node": "*",
|
117
|
+
"@types/tough-cookie": "*",
|
118
|
+
"form-data": "^2.5.0"
|
119
|
+
}
|
120
|
+
},
|
121
|
+
"node_modules/@types/request/node_modules/form-data": {
|
122
|
+
"version": "2.5.1",
|
123
|
+
"resolved": "https://registry.npmjs.org/form-data/-/form-data-2.5.1.tgz",
|
124
|
+
"integrity": "sha512-m21N3WOmEEURgk6B9GLOE4RuWOFf28Lhh9qGYeNlGq4VDXUlJy2th2slBNU8Gp8EzloYZOibZJ7t5ecIrFSjVA==",
|
125
|
+
"dev": true,
|
126
|
+
"dependencies": {
|
127
|
+
"asynckit": "^0.4.0",
|
128
|
+
"combined-stream": "^1.0.6",
|
129
|
+
"mime-types": "^2.1.12"
|
130
|
+
},
|
131
|
+
"engines": {
|
132
|
+
"node": ">= 0.12"
|
133
|
+
}
|
134
|
+
},
|
91
135
|
"node_modules/@types/send": {
|
92
136
|
"version": "0.17.4",
|
93
137
|
"resolved": "https://registry.npmjs.org/@types/send/-/send-0.17.4.tgz",
|
@@ -109,6 +153,74 @@
|
|
109
153
|
"@types/send": "*"
|
110
154
|
}
|
111
155
|
},
|
156
|
+
"node_modules/@types/tough-cookie": {
|
157
|
+
"version": "4.0.5",
|
158
|
+
"resolved": "https://registry.npmjs.org/@types/tough-cookie/-/tough-cookie-4.0.5.tgz",
|
159
|
+
"integrity": "sha512-/Ad8+nIOV7Rl++6f1BdKxFSMgmoqEoYbHRpPcx3JEfv8VRsQe9Z4mCXeJBzxs7mbHY/XOZZuXlRNfhpVPbs6ZA==",
|
160
|
+
"dev": true
|
161
|
+
},
|
162
|
+
"node_modules/asynckit": {
|
163
|
+
"version": "0.4.0",
|
164
|
+
"resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",
|
165
|
+
"integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==",
|
166
|
+
"dev": true
|
167
|
+
},
|
168
|
+
"node_modules/combined-stream": {
|
169
|
+
"version": "1.0.8",
|
170
|
+
"resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz",
|
171
|
+
"integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==",
|
172
|
+
"dev": true,
|
173
|
+
"dependencies": {
|
174
|
+
"delayed-stream": "~1.0.0"
|
175
|
+
},
|
176
|
+
"engines": {
|
177
|
+
"node": ">= 0.8"
|
178
|
+
}
|
179
|
+
},
|
180
|
+
"node_modules/delayed-stream": {
|
181
|
+
"version": "1.0.0",
|
182
|
+
"resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",
|
183
|
+
"integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==",
|
184
|
+
"dev": true,
|
185
|
+
"engines": {
|
186
|
+
"node": ">=0.4.0"
|
187
|
+
}
|
188
|
+
},
|
189
|
+
"node_modules/form-data": {
|
190
|
+
"version": "4.0.0",
|
191
|
+
"resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz",
|
192
|
+
"integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==",
|
193
|
+
"dev": true,
|
194
|
+
"dependencies": {
|
195
|
+
"asynckit": "^0.4.0",
|
196
|
+
"combined-stream": "^1.0.8",
|
197
|
+
"mime-types": "^2.1.12"
|
198
|
+
},
|
199
|
+
"engines": {
|
200
|
+
"node": ">= 6"
|
201
|
+
}
|
202
|
+
},
|
203
|
+
"node_modules/mime-db": {
|
204
|
+
"version": "1.52.0",
|
205
|
+
"resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz",
|
206
|
+
"integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==",
|
207
|
+
"dev": true,
|
208
|
+
"engines": {
|
209
|
+
"node": ">= 0.6"
|
210
|
+
}
|
211
|
+
},
|
212
|
+
"node_modules/mime-types": {
|
213
|
+
"version": "2.1.35",
|
214
|
+
"resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz",
|
215
|
+
"integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==",
|
216
|
+
"dev": true,
|
217
|
+
"dependencies": {
|
218
|
+
"mime-db": "1.52.0"
|
219
|
+
},
|
220
|
+
"engines": {
|
221
|
+
"node": ">= 0.6"
|
222
|
+
}
|
223
|
+
},
|
112
224
|
"node_modules/types-registry": {
|
113
225
|
"version": "0.1.685",
|
114
226
|
"resolved": "https://registry.npmjs.org/types-registry/-/types-registry-0.1.685.tgz",
|
@@ -1 +1 @@
|
|
1
|
-
{"private":true,"dependencies":{"types-registry":"^0.1.685"},"devDependencies":{"@types/express":"^4.17.21","@types/qs":"^6.9.15"}}
|
1
|
+
{"private":true,"dependencies":{"types-registry":"^0.1.685"},"devDependencies":{"@types/express":"^4.17.21","@types/node-fetch":"^2.6.11","@types/qs":"^6.9.15","@types/request":"^2.48.12"}}
|
package/README.md
CHANGED
@@ -23,7 +23,7 @@
|
|
23
23
|
```js
|
24
24
|
const { alldl } = require('rahad-all-downloader');
|
25
25
|
|
26
|
-
const videoUrl = ''; // Insert a supported URL from YouTube, Facebook, TikTok, Instagram, Twitter, Google Drive, or Capcut.
|
26
|
+
const videoUrl = ''; // Insert a supported URL from YouTube, Facebook, TikTok, Instagram, Twitter,terabox, Google Drive, or Capcut.
|
27
27
|
|
28
28
|
async function downloadVideo(url) {
|
29
29
|
try {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "rahad-all-downloader",
|
3
|
-
"version": "2.1.
|
3
|
+
"version": "2.1.3",
|
4
4
|
"description": "Fetch URL Downloads From YouTube, Facebook, TikTok, Instagram, Twitter, Google Drive, Capcut",
|
5
5
|
"main": "index.js",
|
6
6
|
"scripts": {
|
@@ -24,7 +24,26 @@
|
|
24
24
|
"ytdl",
|
25
25
|
"YouTube video download",
|
26
26
|
"api",
|
27
|
-
"any video download api"
|
27
|
+
"any video download api",
|
28
|
+
"rahad",
|
29
|
+
"Rahad",
|
30
|
+
"rahad-media-downloader",
|
31
|
+
"rahad-all-downloader",
|
32
|
+
"terabox",
|
33
|
+
"TERABOX",
|
34
|
+
"terabox dl",
|
35
|
+
"terabox download",
|
36
|
+
"terabox Video download",
|
37
|
+
"terabox video downloader",
|
38
|
+
"terabox Video",
|
39
|
+
"terabox video",
|
40
|
+
"all media downloader",
|
41
|
+
"all media downloader api",
|
42
|
+
"all media downloader download",
|
43
|
+
"rahad all downloader",
|
44
|
+
"rahad all media download api",
|
45
|
+
"rahad all media downloader"
|
46
|
+
|
28
47
|
],
|
29
48
|
"author": "RAHAD",
|
30
49
|
"license": "MIT",
|