kempo-server 1.4.3 → 1.4.5

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 (47) hide show
  1. package/.github/copilot-instructions.md +96 -96
  2. package/.github/workflows/publish-npm.yml +41 -0
  3. package/README.md +650 -650
  4. package/builtinMiddleware.js +136 -136
  5. package/defaultConfig.js +129 -129
  6. package/docs/.config.json +5 -5
  7. package/docs/.config.json.example +19 -19
  8. package/docs/api/user/[id]/GET.js +15 -15
  9. package/docs/api/user/[id]/[info]/DELETE.js +12 -12
  10. package/docs/api/user/[id]/[info]/GET.js +17 -17
  11. package/docs/api/user/[id]/[info]/POST.js +18 -18
  12. package/docs/api/user/[id]/[info]/PUT.js +19 -19
  13. package/docs/configuration.html +119 -119
  14. package/docs/examples.html +201 -201
  15. package/docs/getting-started.html +72 -72
  16. package/docs/index.html +81 -81
  17. package/docs/manifest.json +87 -87
  18. package/docs/middleware.html +147 -147
  19. package/docs/request-response.html +95 -95
  20. package/docs/routing.html +77 -77
  21. package/example-middleware.js +23 -23
  22. package/example.config.json +50 -50
  23. package/findFile.js +138 -138
  24. package/getFiles.js +72 -72
  25. package/getFlags.js +34 -34
  26. package/index.js +47 -47
  27. package/middlewareRunner.js +25 -25
  28. package/package.json +10 -6
  29. package/requestWrapper.js +87 -87
  30. package/responseWrapper.js +204 -204
  31. package/router.js +285 -285
  32. package/serveFile.js +71 -71
  33. package/tests/builtinMiddleware-cors.node-test.js +17 -17
  34. package/tests/builtinMiddleware.node-test.js +74 -74
  35. package/tests/defaultConfig.node-test.js +13 -13
  36. package/tests/example-middleware.node-test.js +31 -31
  37. package/tests/findFile.node-test.js +46 -46
  38. package/tests/getFiles.node-test.js +25 -25
  39. package/tests/getFlags.node-test.js +30 -30
  40. package/tests/index.node-test.js +23 -23
  41. package/tests/middlewareRunner.node-test.js +18 -18
  42. package/tests/requestWrapper.node-test.js +51 -51
  43. package/tests/responseWrapper.node-test.js +74 -74
  44. package/tests/router-middleware.node-test.js +46 -46
  45. package/tests/router.node-test.js +88 -88
  46. package/tests/serveFile.node-test.js +52 -52
  47. package/tests/test-utils.js +106 -106
@@ -1,72 +1,72 @@
1
- <html lang="en" theme="auto">
2
- <head>
3
- <meta charset='utf-8'>
4
- <meta http-equiv='X-UA-Compatible' content='IE=edge'>
5
- <title>Getting Started - Kempo Server</title>
6
- <meta name='viewport' content='width=device-width, initial-scale=1'>
7
- <link rel="icon" type="image/png" sizes="48x48" href="media/icon48.png">
8
- <link rel="manifest" href="manifest.json">
9
- <link rel="stylesheet" href="essential.css" />
10
- </head>
11
- <body>
12
- <main>
13
- <a href="./" class="btn">Home</a>
14
- <h1>Getting Started</h1>
15
- <p>Get up and running with Kempo Server in just a few steps.</p>
16
-
17
- <h2>Installation</h2>
18
- <p>1. Install the npm package.</p>
19
- <pre><code>npm install kempo-server</code></pre>
20
-
21
- <p>2. Add it to your <code>package.json</code> scripts, use the <code>--root</code> flag to tell it where the root of your site is.</p>
22
- <pre><code class="hljs json">{<br /> ...<br /> <span class="hljs-attr">"scripts"</span>: {<br /> <span class="hljs-attr">"start"</span>: <span class="hljs-string">"kempo-server --root public"</span><br /> }<br /> ...<br />}</code></pre>
23
-
24
- <p>3. Run it in your terminal.</p>
25
- <pre><code>npm run start</code></pre>
26
-
27
- <h2>Basic Project Structure</h2>
28
- <p>Once installed, create a basic project structure:</p>
29
- <pre><code class="hljs markdown">my-project/<br />├─ public/ # Your web root<br />│ ├─ index.html # Homepage<br />│ ├─ styles.css # CSS files<br />│ ├─ api/ # API routes<br />│ │ ├─ hello/<br />│ │ │ ├─ GET.js # GET /api/hello/<br />│ │ ├─ users/<br />│ │ │ ├─ GET.js # GET /api/users/<br />│ │ │ ├─ POST.js # POST /api/users/<br />├─ package.json<br />├─ .config.json # Optional configuration<br /></code></pre>
30
-
31
- <h2>Your First Route</h2>
32
- <p>Create a simple API endpoint:</p>
33
-
34
- <h3>1. Create the directory structure</h3>
35
- <pre><code>mkdir -p public/api/hello</code></pre>
36
-
37
- <h3>2. Create your first route file</h3>
38
- <p>Create <code>public/api/hello/GET.js</code>:</p>
39
- <pre><code class="hljs javascript"><span class="hljs-comment">// public/api/hello/GET.js</span><br /><span class="hljs-keyword">export</span> <span class="hljs-keyword">default</span> <span class="hljs-keyword">async</span> <span class="hljs-function"><span class="hljs-keyword">function</span>(<span class="hljs-params">request, response</span>) </span>{<br /> <span class="hljs-keyword">const</span> { name } = request.query;<br /> <span class="hljs-keyword">const</span> message = name ? <span class="hljs-string">`Hello ${name}!`</span> : <span class="hljs-string">'Hello World!'</span>;<br /> <br /> response.json({ message, timestamp: <span class="hljs-keyword">new</span> <span class="hljs-built_in">Date</span>().toISOString() });<br />}</code></pre>
40
-
41
- <h3>3. Test your route</h3>
42
- <p>Start your server and visit:</p>
43
- <ul>
44
- <li><code>http://localhost:3000/api/hello/</code></li>
45
- <li><code>http://localhost:3000/api/hello/?name=World</code></li>
46
- </ul>
47
-
48
- <h2>Command Line Options</h2>
49
- <p>Kempo Server supports several command line options:</p>
50
- <ul>
51
- <li><code>--root &lt;path&gt;</code> - Set the document root directory (required)</li>
52
- <li><code>--port &lt;number&gt;</code> - Set the port number (default: 3000)</li>
53
- <li><code>--host &lt;address&gt;</code> - Set the host address (default: localhost)</li>
54
- <li><code>--verbose</code> - Enable verbose logging</li>
55
- </ul>
56
-
57
- <p>Example:</p>
58
- <pre><code>kempo-server --root public --port 8080 --host 0.0.0.0 --verbose</code></pre>
59
-
60
- <h2>What's Next?</h2>
61
- <p>Now that you have Kempo Server running, explore these topics:</p>
62
- <ul>
63
- <li><a href="routing.html">Learn about Routes & Routing</a> - File-based routing, dynamic routes, and HTML routes</li>
64
- <li><a href="request-response.html">Request & Response Objects</a> - Working with HTTP requests and responses</li>
65
- <li><a href="configuration.html">Configuration</a> - Customize server behavior</li>
66
- <li><a href="middleware.html">Middleware</a> - Add authentication, logging, CORS, and more</li>
67
- <li><a href="examples.html">Examples & Demos</a> - See real-world examples in action</li>
68
- </ul>
69
- </main>
70
- <div style="height:25vh"></div>
71
- </body>
72
- </html>
1
+ <html lang="en" theme="auto">
2
+ <head>
3
+ <meta charset='utf-8'>
4
+ <meta http-equiv='X-UA-Compatible' content='IE=edge'>
5
+ <title>Getting Started - Kempo Server</title>
6
+ <meta name='viewport' content='width=device-width, initial-scale=1'>
7
+ <link rel="icon" type="image/png" sizes="48x48" href="media/icon48.png">
8
+ <link rel="manifest" href="manifest.json">
9
+ <link rel="stylesheet" href="essential.css" />
10
+ </head>
11
+ <body>
12
+ <main>
13
+ <a href="./" class="btn">Home</a>
14
+ <h1>Getting Started</h1>
15
+ <p>Get up and running with Kempo Server in just a few steps.</p>
16
+
17
+ <h2>Installation</h2>
18
+ <p>1. Install the npm package.</p>
19
+ <pre><code>npm install kempo-server</code></pre>
20
+
21
+ <p>2. Add it to your <code>package.json</code> scripts, use the <code>--root</code> flag to tell it where the root of your site is.</p>
22
+ <pre><code class="hljs json">{<br /> ...<br /> <span class="hljs-attr">"scripts"</span>: {<br /> <span class="hljs-attr">"start"</span>: <span class="hljs-string">"kempo-server --root public"</span><br /> }<br /> ...<br />}</code></pre>
23
+
24
+ <p>3. Run it in your terminal.</p>
25
+ <pre><code>npm run start</code></pre>
26
+
27
+ <h2>Basic Project Structure</h2>
28
+ <p>Once installed, create a basic project structure:</p>
29
+ <pre><code class="hljs markdown">my-project/<br />├─ public/ # Your web root<br />│ ├─ index.html # Homepage<br />│ ├─ styles.css # CSS files<br />│ ├─ api/ # API routes<br />│ │ ├─ hello/<br />│ │ │ ├─ GET.js # GET /api/hello/<br />│ │ ├─ users/<br />│ │ │ ├─ GET.js # GET /api/users/<br />│ │ │ ├─ POST.js # POST /api/users/<br />├─ package.json<br />├─ .config.json # Optional configuration<br /></code></pre>
30
+
31
+ <h2>Your First Route</h2>
32
+ <p>Create a simple API endpoint:</p>
33
+
34
+ <h3>1. Create the directory structure</h3>
35
+ <pre><code>mkdir -p public/api/hello</code></pre>
36
+
37
+ <h3>2. Create your first route file</h3>
38
+ <p>Create <code>public/api/hello/GET.js</code>:</p>
39
+ <pre><code class="hljs javascript"><span class="hljs-comment">// public/api/hello/GET.js</span><br /><span class="hljs-keyword">export</span> <span class="hljs-keyword">default</span> <span class="hljs-keyword">async</span> <span class="hljs-function"><span class="hljs-keyword">function</span>(<span class="hljs-params">request, response</span>) </span>{<br /> <span class="hljs-keyword">const</span> { name } = request.query;<br /> <span class="hljs-keyword">const</span> message = name ? <span class="hljs-string">`Hello ${name}!`</span> : <span class="hljs-string">'Hello World!'</span>;<br /> <br /> response.json({ message, timestamp: <span class="hljs-keyword">new</span> <span class="hljs-built_in">Date</span>().toISOString() });<br />}</code></pre>
40
+
41
+ <h3>3. Test your route</h3>
42
+ <p>Start your server and visit:</p>
43
+ <ul>
44
+ <li><code>http://localhost:3000/api/hello/</code></li>
45
+ <li><code>http://localhost:3000/api/hello/?name=World</code></li>
46
+ </ul>
47
+
48
+ <h2>Command Line Options</h2>
49
+ <p>Kempo Server supports several command line options:</p>
50
+ <ul>
51
+ <li><code>--root &lt;path&gt;</code> - Set the document root directory (required)</li>
52
+ <li><code>--port &lt;number&gt;</code> - Set the port number (default: 3000)</li>
53
+ <li><code>--host &lt;address&gt;</code> - Set the host address (default: localhost)</li>
54
+ <li><code>--verbose</code> - Enable verbose logging</li>
55
+ </ul>
56
+
57
+ <p>Example:</p>
58
+ <pre><code>kempo-server --root public --port 8080 --host 0.0.0.0 --verbose</code></pre>
59
+
60
+ <h2>What's Next?</h2>
61
+ <p>Now that you have Kempo Server running, explore these topics:</p>
62
+ <ul>
63
+ <li><a href="routing.html">Learn about Routes & Routing</a> - File-based routing, dynamic routes, and HTML routes</li>
64
+ <li><a href="request-response.html">Request & Response Objects</a> - Working with HTTP requests and responses</li>
65
+ <li><a href="configuration.html">Configuration</a> - Customize server behavior</li>
66
+ <li><a href="middleware.html">Middleware</a> - Add authentication, logging, CORS, and more</li>
67
+ <li><a href="examples.html">Examples & Demos</a> - See real-world examples in action</li>
68
+ </ul>
69
+ </main>
70
+ <div style="height:25vh"></div>
71
+ </body>
72
+ </html>
package/docs/index.html CHANGED
@@ -1,81 +1,81 @@
1
- <html lang="en" theme="auto">
2
- <head>
3
- <meta charset='utf-8'>
4
- <meta http-equiv='X-UA-Compatible' content='IE=edge'>
5
- <title>Kempo Server - Documentation</title>
6
- <meta name='viewport' content='width=device-width, initial-scale=1'>
7
- <link rel="icon" type="image/png" sizes="48x48" href="media/icon48.png">
8
- <link rel="manifest" href="manifest.json">
9
- <link rel="stylesheet" href="essential.css" />
10
- </head>
11
- <body>
12
- <main>
13
- <h1 class="ta-center">Kempo Server</h1>
14
- <div class="ta-center">
15
- <p class="mb0">
16
- <a href="https://github.com/dustinpoissant/kempo-server" class="btn primary mr" target="_blank">GitHub</a>
17
- <a href="https://www.npmjs.com/package/kempo-server" class="btn" target="_blank">NPM</a>
18
- </p>
19
- </div>
20
- <p>A lightweight, zero-dependency, file based routing server.</p>
21
-
22
- <nav class="b r mb p">
23
- <div class="row -mx">
24
- <div class="col m-span-12 d-span-6 px">
25
- <h4 class="mt0">Getting Started</h4>
26
- <ul>
27
- <li><a href="getting-started.html">Getting Started</a></li>
28
- <li><a href="routing.html">Routes & Routing</a></li>
29
- <li><a href="request-response.html">Request & Response</a></li>
30
- </ul>
31
- </div>
32
- <div class="col m-span-12 d-span-6 px">
33
- <h4 class="mt0">Advanced Features</h4>
34
- <ul>
35
- <li><a href="configuration.html">Configuration</a></li>
36
- <li><a href="middleware.html">Middleware</a></li>
37
- <li><a href="examples.html">Examples & Demos</a></li>
38
- </ul>
39
- </div>
40
- </div>
41
- </nav>
42
-
43
- <div class="b r mb p">
44
- <h3 class="mt0">Quick Start</h3>
45
- <p>Install and run Kempo Server in seconds:</p>
46
- <pre><code>npm install kempo-server
47
- npx kempo-server --root public</code></pre>
48
- </div>
49
-
50
- <div class="row -mx mb">
51
- <div class="col m-span-12 d-span-6 px">
52
- <div class="b r p">
53
- <h4 class="mt0">Features</h4>
54
- <ul>
55
- <li><strong>Zero Dependencies</strong> - No external dependencies</li>
56
- <li><strong>File-based Routing</strong> - Directory structure defines routes</li>
57
- <li><strong>Dynamic Routes</strong> - Parameterized routes with [brackets]</li>
58
- <li><strong>Wildcard Routes</strong> - Map directories with * patterns</li>
59
- <li><strong>Middleware System</strong> - Authentication, CORS, logging, and more</li>
60
- <li><strong>Request/Response Objects</strong> - Enhanced request handling</li>
61
- </ul>
62
- </div>
63
- </div>
64
- <div class="col m-span-12 d-span-6 px">
65
- <div class="b r p">
66
- <h4 class="mt0">Built-in Middleware</h4>
67
- <ul>
68
- <li><strong>CORS</strong> - Cross-origin resource sharing</li>
69
- <li><strong>Compression</strong> - Automatic gzip compression</li>
70
- <li><strong>Rate Limiting</strong> - Request throttling</li>
71
- <li><strong>Security Headers</strong> - Security best practices</li>
72
- <li><strong>Request Logging</strong> - Configurable logging</li>
73
- <li><strong>Custom Middleware</strong> - Load your own middleware</li>
74
- </ul>
75
- </div>
76
- </div>
77
- </div>
78
- </main>
79
- <div style="height:25vh"></div>
80
- </body>
81
- </html>
1
+ <html lang="en" theme="auto">
2
+ <head>
3
+ <meta charset='utf-8'>
4
+ <meta http-equiv='X-UA-Compatible' content='IE=edge'>
5
+ <title>Kempo Server - Documentation</title>
6
+ <meta name='viewport' content='width=device-width, initial-scale=1'>
7
+ <link rel="icon" type="image/png" sizes="48x48" href="media/icon48.png">
8
+ <link rel="manifest" href="manifest.json">
9
+ <link rel="stylesheet" href="essential.css" />
10
+ </head>
11
+ <body>
12
+ <main>
13
+ <h1 class="ta-center">Kempo Server</h1>
14
+ <div class="ta-center">
15
+ <p class="mb0">
16
+ <a href="https://github.com/dustinpoissant/kempo-server" class="btn primary mr" target="_blank">GitHub</a>
17
+ <a href="https://www.npmjs.com/package/kempo-server" class="btn" target="_blank">NPM</a>
18
+ </p>
19
+ </div>
20
+ <p>A lightweight, zero-dependency, file based routing server.</p>
21
+
22
+ <nav class="b r mb p">
23
+ <div class="row -mx">
24
+ <div class="col m-span-12 d-span-6 px">
25
+ <h4 class="mt0">Getting Started</h4>
26
+ <ul>
27
+ <li><a href="getting-started.html">Getting Started</a></li>
28
+ <li><a href="routing.html">Routes & Routing</a></li>
29
+ <li><a href="request-response.html">Request & Response</a></li>
30
+ </ul>
31
+ </div>
32
+ <div class="col m-span-12 d-span-6 px">
33
+ <h4 class="mt0">Advanced Features</h4>
34
+ <ul>
35
+ <li><a href="configuration.html">Configuration</a></li>
36
+ <li><a href="middleware.html">Middleware</a></li>
37
+ <li><a href="examples.html">Examples & Demos</a></li>
38
+ </ul>
39
+ </div>
40
+ </div>
41
+ </nav>
42
+
43
+ <div class="b r mb p">
44
+ <h3 class="mt0">Quick Start</h3>
45
+ <p>Install and run Kempo Server in seconds:</p>
46
+ <pre><code>npm install kempo-server
47
+ npx kempo-server --root public</code></pre>
48
+ </div>
49
+
50
+ <div class="row -mx mb">
51
+ <div class="col m-span-12 d-span-6 px">
52
+ <div class="b r p">
53
+ <h4 class="mt0">Features</h4>
54
+ <ul>
55
+ <li><strong>Zero Dependencies</strong> - No external dependencies</li>
56
+ <li><strong>File-based Routing</strong> - Directory structure defines routes</li>
57
+ <li><strong>Dynamic Routes</strong> - Parameterized routes with [brackets]</li>
58
+ <li><strong>Wildcard Routes</strong> - Map directories with * patterns</li>
59
+ <li><strong>Middleware System</strong> - Authentication, CORS, logging, and more</li>
60
+ <li><strong>Request/Response Objects</strong> - Enhanced request handling</li>
61
+ </ul>
62
+ </div>
63
+ </div>
64
+ <div class="col m-span-12 d-span-6 px">
65
+ <div class="b r p">
66
+ <h4 class="mt0">Built-in Middleware</h4>
67
+ <ul>
68
+ <li><strong>CORS</strong> - Cross-origin resource sharing</li>
69
+ <li><strong>Compression</strong> - Automatic gzip compression</li>
70
+ <li><strong>Rate Limiting</strong> - Request throttling</li>
71
+ <li><strong>Security Headers</strong> - Security best practices</li>
72
+ <li><strong>Request Logging</strong> - Configurable logging</li>
73
+ <li><strong>Custom Middleware</strong> - Load your own middleware</li>
74
+ </ul>
75
+ </div>
76
+ </div>
77
+ </div>
78
+ </main>
79
+ <div style="height:25vh"></div>
80
+ </body>
81
+ </html>
@@ -1,87 +1,87 @@
1
- {
2
- "name": "Kempo Server",
3
- "short_name": "Kempo Server",
4
- "description": "A lightweight, zero-dependency, file based routing server",
5
- "start_url": "/",
6
- "display": "standalone",
7
- "background_color": "#ffffff",
8
- "theme_color": "#000000",
9
- "orientation": "portrait-primary",
10
- "scope": "/",
11
- "lang": "en",
12
- "categories": ["developer", "utilities"],
13
- "icons": [
14
- {
15
- "src": "media/icon16.png",
16
- "sizes": "16x16",
17
- "type": "image/png"
18
- },
19
- {
20
- "src": "media/icon32.png",
21
- "sizes": "32x32",
22
- "type": "image/png"
23
- },
24
- {
25
- "src": "media/icon48.png",
26
- "sizes": "48x48",
27
- "type": "image/png"
28
- },
29
- {
30
- "src": "media/icon64.png",
31
- "sizes": "64x64",
32
- "type": "image/png"
33
- },
34
- {
35
- "src": "media/icon72.png",
36
- "sizes": "72x72",
37
- "type": "image/png"
38
- },
39
- {
40
- "src": "media/icon96.png",
41
- "sizes": "96x96",
42
- "type": "image/png"
43
- },
44
- {
45
- "src": "media/icon128.png",
46
- "sizes": "128x128",
47
- "type": "image/png"
48
- },
49
- {
50
- "src": "media/icon144.png",
51
- "sizes": "144x144",
52
- "type": "image/png"
53
- },
54
- {
55
- "src": "media/icon152.png",
56
- "sizes": "152x152",
57
- "type": "image/png"
58
- },
59
- {
60
- "src": "media/icon192.png",
61
- "sizes": "192x192",
62
- "type": "image/png",
63
- "purpose": "maskable"
64
- },
65
- {
66
- "src": "media/icon256.png",
67
- "sizes": "256x256",
68
- "type": "image/png"
69
- },
70
- {
71
- "src": "media/icon384.png",
72
- "sizes": "384x384",
73
- "type": "image/png"
74
- },
75
- {
76
- "src": "media/icon-maskable.png",
77
- "sizes": "512x512",
78
- "type": "image/png",
79
- "purpose": "maskable"
80
- },
81
- {
82
- "src": "media/icon.svg",
83
- "sizes": "any",
84
- "type": "image/svg+xml"
85
- }
86
- ]
87
- }
1
+ {
2
+ "name": "Kempo Server",
3
+ "short_name": "Kempo Server",
4
+ "description": "A lightweight, zero-dependency, file based routing server",
5
+ "start_url": "/",
6
+ "display": "standalone",
7
+ "background_color": "#ffffff",
8
+ "theme_color": "#000000",
9
+ "orientation": "portrait-primary",
10
+ "scope": "/",
11
+ "lang": "en",
12
+ "categories": ["developer", "utilities"],
13
+ "icons": [
14
+ {
15
+ "src": "media/icon16.png",
16
+ "sizes": "16x16",
17
+ "type": "image/png"
18
+ },
19
+ {
20
+ "src": "media/icon32.png",
21
+ "sizes": "32x32",
22
+ "type": "image/png"
23
+ },
24
+ {
25
+ "src": "media/icon48.png",
26
+ "sizes": "48x48",
27
+ "type": "image/png"
28
+ },
29
+ {
30
+ "src": "media/icon64.png",
31
+ "sizes": "64x64",
32
+ "type": "image/png"
33
+ },
34
+ {
35
+ "src": "media/icon72.png",
36
+ "sizes": "72x72",
37
+ "type": "image/png"
38
+ },
39
+ {
40
+ "src": "media/icon96.png",
41
+ "sizes": "96x96",
42
+ "type": "image/png"
43
+ },
44
+ {
45
+ "src": "media/icon128.png",
46
+ "sizes": "128x128",
47
+ "type": "image/png"
48
+ },
49
+ {
50
+ "src": "media/icon144.png",
51
+ "sizes": "144x144",
52
+ "type": "image/png"
53
+ },
54
+ {
55
+ "src": "media/icon152.png",
56
+ "sizes": "152x152",
57
+ "type": "image/png"
58
+ },
59
+ {
60
+ "src": "media/icon192.png",
61
+ "sizes": "192x192",
62
+ "type": "image/png",
63
+ "purpose": "maskable"
64
+ },
65
+ {
66
+ "src": "media/icon256.png",
67
+ "sizes": "256x256",
68
+ "type": "image/png"
69
+ },
70
+ {
71
+ "src": "media/icon384.png",
72
+ "sizes": "384x384",
73
+ "type": "image/png"
74
+ },
75
+ {
76
+ "src": "media/icon-maskable.png",
77
+ "sizes": "512x512",
78
+ "type": "image/png",
79
+ "purpose": "maskable"
80
+ },
81
+ {
82
+ "src": "media/icon.svg",
83
+ "sizes": "any",
84
+ "type": "image/svg+xml"
85
+ }
86
+ ]
87
+ }