@apiverve/webpconverter 1.1.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (5) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +209 -0
  3. package/index.d.ts +33 -0
  4. package/index.js +331 -0
  5. package/package.json +48 -0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2025 APIVerve, and EvlarSoft LLC
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,209 @@
1
+ # WebP Converter API
2
+
3
+ WebP Converter transforms WebP images to classic formats like PNG and JPG, or converts other formats to WebP for better compression. Essential for handling modern web images.
4
+
5
+ ![Build Status](https://img.shields.io/badge/build-passing-green)
6
+ ![Code Climate](https://img.shields.io/badge/maintainability-B-purple)
7
+ ![Prod Ready](https://img.shields.io/badge/production-ready-blue)
8
+ [![npm version](https://img.shields.io/npm/v/@apiverve/webpconverter.svg)](https://www.npmjs.com/package/@apiverve/webpconverter)
9
+
10
+ This is a Javascript Wrapper for the [WebP Converter API](https://apiverve.com/marketplace/webpconverter?utm_source=npm&utm_medium=readme)
11
+
12
+ ---
13
+
14
+ ## Installation
15
+
16
+ Using npm:
17
+ ```shell
18
+ npm install @apiverve/webpconverter
19
+ ```
20
+
21
+ Using yarn:
22
+ ```shell
23
+ yarn add @apiverve/webpconverter
24
+ ```
25
+
26
+ ---
27
+
28
+ ## Configuration
29
+
30
+ Before using the WebP Converter API client, you have to setup your account and obtain your API Key.
31
+ You can get it by signing up at [https://apiverve.com](https://apiverve.com?utm_source=npm&utm_medium=readme)
32
+
33
+ ---
34
+
35
+ ## Quick Start
36
+
37
+ [Get started with the Quick Start Guide](https://docs.apiverve.com/quickstart?utm_source=npm&utm_medium=readme)
38
+
39
+ The WebP Converter API documentation is found here: [https://docs.apiverve.com/ref/webpconverter](https://docs.apiverve.com/ref/webpconverter?utm_source=npm&utm_medium=readme).
40
+ You can find parameters, example responses, and status codes documented here.
41
+
42
+ ### Setup
43
+
44
+ ```javascript
45
+ const webpconverterAPI = require('@apiverve/webpconverter');
46
+ const api = new webpconverterAPI({
47
+ api_key: '[YOUR_API_KEY]'
48
+ });
49
+ ```
50
+
51
+ ---
52
+
53
+ ## Usage
54
+
55
+ ### File Upload
56
+
57
+ This API requires a file upload. Use `executeWithFile()` to upload files:
58
+
59
+ ```javascript
60
+ // Upload a file (path, Buffer, or ReadStream)
61
+ api.executeWithFile('/path/to/file.image', options, callback);
62
+ ```
63
+
64
+ **Accepted file types:** .webp, .png, .jpg, .jpeg, .gif
65
+ **Maximum file size:** 10 MB
66
+
67
+ ### Available Parameters
68
+
69
+ Pass additional parameters via `options.fields`:
70
+
71
+ | Parameter | Type | Description |
72
+ |-----------|------|-------------|
73
+ | `outputFormat` | string | Target format *(required)* |
74
+ | `quality` | integer | Output quality (applies to jpg/webp) |
75
+ | `maxWidth` | integer | Maximum width in pixels (maintains aspect ratio) |
76
+ | `maxHeight` | integer | Maximum height in pixels (maintains aspect ratio) |
77
+
78
+ ```javascript
79
+ api.executeWithFile('/path/to/file', {
80
+ fields: {
81
+ outputFormat: 'png',
82
+ quality: 90,
83
+ maxWidth: 1920,
84
+ maxHeight: 1080
85
+ }
86
+ });
87
+ ```
88
+
89
+ ---
90
+
91
+ ### Perform Request
92
+
93
+ Using the API is simple. All you have to do is make a request. The API will return a response with the data you requested.
94
+
95
+ ```javascript
96
+ // This API requires a file upload
97
+ // You can pass a file path, Buffer, or ReadStream
98
+ var filePath = '/path/to/image.webp';
99
+
100
+ api.executeWithFile(filePath,
101
+ {
102
+ fields: {
103
+ outputFormat: 'png',
104
+ quality: 90,
105
+ maxWidth: 1920,
106
+ maxHeight: 1080
107
+ }
108
+ }, function (error, data) {
109
+ if (error) {
110
+ return console.error(error);
111
+ } else {
112
+ console.log(data);
113
+ }
114
+ });
115
+ ```
116
+
117
+ ---
118
+
119
+ ### Using Promises
120
+
121
+ You can also use promises to make requests. The API returns a promise that you can use to handle the response.
122
+
123
+ ```javascript
124
+ // This API requires a file upload
125
+ // You can pass a file path, Buffer, or ReadStream
126
+ var filePath = '/path/to/image.webp';
127
+
128
+ api.executeWithFile(filePath, { fields: { /* parameters */ } })
129
+ .then(data => {
130
+ console.log(data);
131
+ })
132
+ .catch(error => {
133
+ console.error(error);
134
+ });
135
+ ```
136
+
137
+ ---
138
+
139
+ ### Using Async/Await
140
+
141
+ You can also use async/await to make requests. The API returns a promise that you can use to handle the response.
142
+
143
+ ```javascript
144
+ async function makeRequest() {
145
+ // This API requires a file upload
146
+ // You can pass a file path, Buffer, or ReadStream
147
+ var filePath = '/path/to/image.webp';
148
+
149
+ try {
150
+ const data = await api.executeWithFile(filePath, { fields: { /* parameters */ } });
151
+ console.log(data);
152
+ } catch (error) {
153
+ console.error(error);
154
+ }
155
+ }
156
+ ```
157
+
158
+ ---
159
+
160
+ ## Example Response
161
+
162
+ ```json
163
+ {
164
+ "status": "ok",
165
+ "error": null,
166
+ "data": {
167
+ "id": "c9d8e7f6-5432-10ba-dcfe-210987654321",
168
+ "inputFormat": "webp",
169
+ "outputFormat": "png",
170
+ "inputSize": 156789,
171
+ "outputSize": 234567,
172
+ "mimeType": "image/png",
173
+ "expires": 1707350400000,
174
+ "downloadURL": "https://storage.googleapis.com/apiverve/webpconverter/c9d8e7f6.png"
175
+ },
176
+ "code": 200
177
+ }
178
+ ```
179
+
180
+ ---
181
+
182
+ ## Customer Support
183
+
184
+ Need any assistance? [Get in touch with Customer Support](https://apiverve.com/contact?utm_source=npm&utm_medium=readme).
185
+
186
+ ---
187
+
188
+ ## Updates
189
+
190
+ Stay up to date by following [@apiverveHQ](https://twitter.com/apiverveHQ) on Twitter.
191
+
192
+ ---
193
+
194
+ ## Legal
195
+
196
+ All usage of the APIVerve website, API, and services is subject to the [APIVerve Terms of Service](https://apiverve.com/terms?utm_source=npm&utm_medium=readme), [Privacy Policy](https://apiverve.com/privacy?utm_source=npm&utm_medium=readme), and [Refund Policy](https://apiverve.com/refund?utm_source=npm&utm_medium=readme).
197
+
198
+ ---
199
+
200
+ ## License
201
+ Licensed under the The MIT License (MIT)
202
+
203
+ Copyright (©) 2026 APIVerve, and EvlarSoft LLC
204
+
205
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
206
+
207
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
208
+
209
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
package/index.d.ts ADDED
@@ -0,0 +1,33 @@
1
+ declare module '@apiverve/webpconverter' {
2
+ export interface webpconverterOptions {
3
+ api_key: string;
4
+ secure?: boolean;
5
+ }
6
+
7
+ export interface webpconverterResponse {
8
+ status: string;
9
+ error: string | null;
10
+ data: WebPConverterData;
11
+ code?: number;
12
+ }
13
+
14
+
15
+ interface WebPConverterData {
16
+ id: string;
17
+ inputFormat: string;
18
+ outputFormat: string;
19
+ inputSize: number;
20
+ outputSize: number;
21
+ mimeType: string;
22
+ expires: number;
23
+ downloadURL: string;
24
+ }
25
+
26
+ export default class webpconverterWrapper {
27
+ constructor(options: webpconverterOptions);
28
+
29
+ execute(callback: (error: any, data: webpconverterResponse | null) => void): Promise<webpconverterResponse>;
30
+ execute(query: Record<string, any>, callback: (error: any, data: webpconverterResponse | null) => void): Promise<webpconverterResponse>;
31
+ execute(query?: Record<string, any>): Promise<webpconverterResponse>;
32
+ }
33
+ }
package/index.js ADDED
@@ -0,0 +1,331 @@
1
+ const axios = require('axios');
2
+
3
+ class webpconverterWrapper {
4
+
5
+ constructor(options) {
6
+ if (!options || typeof options !== 'object') {
7
+ throw new Error('Options object must be provided. See documentation: https://docs.apiverve.com/ref/webpconverter');
8
+ }
9
+
10
+ const { api_key, secure = true } = options;
11
+
12
+ if (!api_key || typeof api_key !== 'string') {
13
+ throw new Error('API key must be provided as a non-empty string. Get your API key at: https://apiverve.com');
14
+ }
15
+
16
+ // Validate API key format (GUID or alphanumeric with hyphens)
17
+ const apiKeyPattern = /^[a-zA-Z0-9-]+$/;
18
+ if (!apiKeyPattern.test(api_key)) {
19
+ throw new Error('Invalid API key format. API key must be alphanumeric and may contain hyphens. Get your API key at: https://apiverve.com');
20
+ }
21
+
22
+ // Check minimum length (GUIDs are typically 36 chars with hyphens, or 32 without)
23
+ const trimmedKey = api_key.replace(/-/g, '');
24
+ if (trimmedKey.length < 32) {
25
+ throw new Error('Invalid API key. API key appears to be too short. Get your API key at: https://apiverve.com');
26
+ }
27
+
28
+ if (typeof secure !== 'boolean') {
29
+ throw new Error('Secure parameter must be a boolean value.');
30
+ }
31
+
32
+ this.APIKey = api_key;
33
+ this.IsSecure = secure;
34
+
35
+ // secure is deprecated, all requests must be made over HTTPS
36
+ this.baseURL = 'https://api.apiverve.com/v1/webpconverter';
37
+
38
+ // Validation rules for parameters (generated from schema)
39
+ this.validationRules = {"image":{"type":"string","required":true},"outputFormat":{"type":"string","required":true},"quality":{"type":"integer","required":false,"min":1,"max":100,"default":90},"maxWidth":{"type":"integer","required":false,"min":1,"max":10000},"maxHeight":{"type":"integer","required":false,"min":1,"max":10000}};
40
+ }
41
+
42
+ /**
43
+ * Validate query parameters against schema rules
44
+ * @param {Object} query - The query parameters to validate
45
+ * @throws {Error} - If validation fails
46
+ */
47
+ validateParams(query) {
48
+ const errors = [];
49
+
50
+ for (const [paramName, rules] of Object.entries(this.validationRules)) {
51
+ const value = query[paramName];
52
+
53
+ // Check required
54
+ if (rules.required && (value === undefined || value === null || value === '')) {
55
+ errors.push(`Required parameter [${paramName}] is missing.`);
56
+ continue;
57
+ }
58
+
59
+ // Skip validation if value is not provided and not required
60
+ if (value === undefined || value === null) {
61
+ continue;
62
+ }
63
+
64
+ // Type validation
65
+ if (rules.type === 'integer' || rules.type === 'number') {
66
+ const numValue = Number(value);
67
+ if (isNaN(numValue)) {
68
+ errors.push(`Parameter [${paramName}] must be a valid ${rules.type}.`);
69
+ continue;
70
+ }
71
+
72
+ if (rules.type === 'integer' && !Number.isInteger(numValue)) {
73
+ errors.push(`Parameter [${paramName}] must be an integer.`);
74
+ continue;
75
+ }
76
+
77
+ // Min/max validation for numbers
78
+ if (rules.min !== undefined && numValue < rules.min) {
79
+ errors.push(`Parameter [${paramName}] must be at least ${rules.min}.`);
80
+ }
81
+ if (rules.max !== undefined && numValue > rules.max) {
82
+ errors.push(`Parameter [${paramName}] must be at most ${rules.max}.`);
83
+ }
84
+ } else if (rules.type === 'string') {
85
+ if (typeof value !== 'string') {
86
+ errors.push(`Parameter [${paramName}] must be a string.`);
87
+ continue;
88
+ }
89
+
90
+ // Length validation for strings
91
+ if (rules.minLength !== undefined && value.length < rules.minLength) {
92
+ errors.push(`Parameter [${paramName}] must be at least ${rules.minLength} characters.`);
93
+ }
94
+ if (rules.maxLength !== undefined && value.length > rules.maxLength) {
95
+ errors.push(`Parameter [${paramName}] must be at most ${rules.maxLength} characters.`);
96
+ }
97
+
98
+ // Format validation
99
+ if (rules.format) {
100
+ const formatPatterns = {
101
+ 'email': /^[^\s@]+@[^\s@]+\.[^\s@]+$/,
102
+ 'url': /^https?:\/\/.+/i,
103
+ 'ip': /^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$|^([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}$/,
104
+ 'date': /^\d{4}-\d{2}-\d{2}$/,
105
+ 'hexColor': /^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$/
106
+ };
107
+
108
+ if (formatPatterns[rules.format] && !formatPatterns[rules.format].test(value)) {
109
+ errors.push(`Parameter [${paramName}] must be a valid ${rules.format}.`);
110
+ }
111
+ }
112
+ } else if (rules.type === 'boolean') {
113
+ if (typeof value !== 'boolean' && value !== 'true' && value !== 'false') {
114
+ errors.push(`Parameter [${paramName}] must be a boolean.`);
115
+ }
116
+ } else if (rules.type === 'array') {
117
+ if (!Array.isArray(value)) {
118
+ errors.push(`Parameter [${paramName}] must be an array.`);
119
+ }
120
+ }
121
+
122
+ // Enum validation
123
+ if (rules.enum && Array.isArray(rules.enum)) {
124
+ if (!rules.enum.includes(value)) {
125
+ errors.push(`Parameter [${paramName}] must be one of: ${rules.enum.join(', ')}.`);
126
+ }
127
+ }
128
+ }
129
+
130
+ if (errors.length > 0) {
131
+ throw new Error(`Validation failed: ${errors.join(' ')} See documentation: https://docs.apiverve.com/ref/webpconverter`);
132
+ }
133
+ }
134
+
135
+ async execute(query, callback) {
136
+ // Handle different argument patterns
137
+ if(arguments.length === 0) {
138
+ // execute() - no args
139
+ query = {};
140
+ callback = null;
141
+ } else if(arguments.length === 1) {
142
+ if (typeof query === 'function') {
143
+ // execute(callback)
144
+ callback = query;
145
+ query = {};
146
+ } else {
147
+ // execute(query)
148
+ callback = null;
149
+ }
150
+ } else {
151
+ // execute(query, callback)
152
+ if (!query || typeof query !== 'object') {
153
+ throw new Error('Query parameters must be provided as an object.');
154
+ }
155
+ }
156
+
157
+ // Validate parameters against schema rules
158
+ this.validateParams(query);
159
+
160
+ const method = 'POST';
161
+ const url = method === 'POST' ? this.baseURL : this.constructURL(query);
162
+
163
+ try {
164
+ const response = await axios({
165
+ method,
166
+ url,
167
+ headers: {
168
+ 'Content-Type': 'application/json',
169
+ 'x-api-key': this.APIKey,
170
+ 'auth-mode': 'npm-package'
171
+ },
172
+ data: method === 'POST' ? query : undefined
173
+ });
174
+
175
+ const data = response.data;
176
+ if (callback) callback(null, data);
177
+ return data;
178
+ } catch (error) {
179
+ let apiError;
180
+
181
+ if (error.response && error.response.data) {
182
+ apiError = error.response.data;
183
+ } else if (error.message) {
184
+ apiError = { error: error.message, status: 'error' };
185
+ } else {
186
+ apiError = { error: 'An unknown error occurred', status: 'error' };
187
+ }
188
+
189
+ if (callback) {
190
+ callback(apiError, null);
191
+ return; // Don't throw if callback is provided
192
+ }
193
+
194
+ throw apiError;
195
+ }
196
+ }
197
+
198
+ constructURL(query) {
199
+ let url = this.baseURL;
200
+
201
+ if(query && typeof query === 'object')
202
+ {
203
+ if (Object.keys(query).length > 0) {
204
+ const queryString = Object.keys(query)
205
+ .map(key => `${encodeURIComponent(key)}=${encodeURIComponent(query[key])}`)
206
+ .join('&');
207
+ url += `?${queryString}`;
208
+ }
209
+ }
210
+ return url;
211
+ }
212
+
213
+ /**
214
+ * Execute the API request with a file upload
215
+ * @param {string|Buffer|ReadStream} file - File path, Buffer, or ReadStream
216
+ * @param {Object} options - Additional options (e.g., additional form fields)
217
+ * @param {Function} callback - Optional callback function
218
+ * @returns {Promise} - Promise with the API response
219
+ */
220
+ async executeWithFile(file, options = {}, callback) {
221
+ // Handle callback as second argument
222
+ if (typeof options === 'function') {
223
+ callback = options;
224
+ options = {};
225
+ }
226
+
227
+ if (!file) {
228
+ throw new Error('File must be provided for file upload. See documentation: https://docs.apiverve.com/ref/webpconverter');
229
+ }
230
+
231
+ const FormData = require('form-data');
232
+ const fs = require('fs');
233
+ const path = require('path');
234
+
235
+ const formData = new FormData();
236
+
237
+ // Handle different file input types
238
+ if (typeof file === 'string') {
239
+ // File path provided
240
+ if (!fs.existsSync(file)) {
241
+ throw new Error(`File not found: ${file}`);
242
+ }
243
+ formData.append('image', fs.createReadStream(file), {
244
+ filename: path.basename(file)
245
+ });
246
+ } else if (Buffer.isBuffer(file)) {
247
+ // Buffer provided
248
+ formData.append('image', file, {
249
+ filename: options.filename || 'upload',
250
+ contentType: options.contentType || 'application/octet-stream'
251
+ });
252
+ } else if (file.pipe && typeof file.pipe === 'function') {
253
+ // ReadStream provided
254
+ formData.append('image', file);
255
+ } else {
256
+ throw new Error('File must be a file path (string), Buffer, or ReadStream. See documentation: https://docs.apiverve.com/ref/webpconverter');
257
+ }
258
+
259
+ // Add any additional form fields
260
+ if (options.fields && typeof options.fields === 'object') {
261
+ for (const [key, value] of Object.entries(options.fields)) {
262
+ formData.append(key, value);
263
+ }
264
+ }
265
+
266
+ try {
267
+ const response = await axios({
268
+ method: 'POST',
269
+ url: this.baseURL,
270
+ headers: {
271
+ ...formData.getHeaders(),
272
+ 'x-api-key': this.APIKey,
273
+ 'auth-mode': 'npm-package'
274
+ },
275
+ data: formData,
276
+ maxContentLength: 10 * 1024 * 1024,
277
+ maxBodyLength: 10 * 1024 * 1024
278
+ });
279
+
280
+ const data = response.data;
281
+ if (callback) callback(null, data);
282
+ return data;
283
+ } catch (error) {
284
+ let apiError;
285
+
286
+ if (error.response && error.response.data) {
287
+ apiError = error.response.data;
288
+ } else if (error.message) {
289
+ apiError = { error: error.message, status: 'error' };
290
+ } else {
291
+ apiError = { error: 'An unknown error occurred', status: 'error' };
292
+ }
293
+
294
+ if (callback) {
295
+ callback(apiError, null);
296
+ return;
297
+ }
298
+
299
+ throw apiError;
300
+ }
301
+ }
302
+
303
+ /**
304
+ * Execute the API request with a file URL
305
+ * @param {string} url - URL of the file to process
306
+ * @param {Object} options - Additional options (e.g., additional parameters)
307
+ * @param {Function} callback - Optional callback function
308
+ * @returns {Promise} - Promise with the API response
309
+ */
310
+ async executeWithUrl(url, options = {}, callback) {
311
+ // Handle callback as second argument
312
+ if (typeof options === 'function') {
313
+ callback = options;
314
+ options = {};
315
+ }
316
+
317
+ if (!url || typeof url !== 'string') {
318
+ throw new Error('URL must be provided as a string. See documentation: https://docs.apiverve.com/ref/webpconverter');
319
+ }
320
+
321
+ // Validate URL format
322
+ if (!/^https?:\/\/.+/i.test(url)) {
323
+ throw new Error('Invalid URL format. URL must start with http:// or https://');
324
+ }
325
+
326
+ const query = { url, ...options };
327
+ return this.execute(query, callback);
328
+ }
329
+ }
330
+
331
+ module.exports = webpconverterWrapper;
package/package.json ADDED
@@ -0,0 +1,48 @@
1
+ {
2
+ "name": "@apiverve/webpconverter",
3
+ "version": "1.1.13",
4
+ "description": "WebP Converter transforms WebP images to classic formats like PNG and JPG, or converts other formats to WebP for better compression. Essential for handling modern web images.",
5
+ "main": "index.js",
6
+ "types": "index.d.ts",
7
+ "sideEffects": false,
8
+ "engines": {
9
+ "node": ">=14.0.0"
10
+ },
11
+ "files": [
12
+ "index.js",
13
+ "index.d.ts",
14
+ "LICENSE"
15
+ ],
16
+ "scripts": {
17
+ "test": "mocha",
18
+ "example": "node examples/basic.js"
19
+ },
20
+ "repository": {
21
+ "type": "git",
22
+ "url": "git+https://github.com/apiverve/webpconverter-api.git",
23
+ "directory": "npm"
24
+ },
25
+ "keywords": [
26
+ ""
27
+ ],
28
+ "author": {
29
+ "name": "APIVerve",
30
+ "email": "hello@apiverve.com",
31
+ "url": "https://apiverve.com"
32
+ },
33
+ "license": "MIT",
34
+ "bugs": {
35
+ "url": "https://github.com/apiverve/webpconverter-api/issues"
36
+ },
37
+ "homepage": "https://apiverve.com/marketplace/webpconverter?utm_source=npm&utm_medium=homepage",
38
+ "devDependencies": {
39
+ "mocha": "^11.0.1",
40
+ "chai": "^5.1.2",
41
+ "dotenv": "^16.4.7"
42
+ },
43
+ "dependencies": {
44
+ "node-fetch": "^3.3.2",
45
+ "promise": "^8.3.0",
46
+ "axios": "1.13.2"
47
+ }
48
+ }