mikroserve 0.0.10 → 1.0.0

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 (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +1 -4
package/README.md CHANGED
@@ -12,7 +12,7 @@
12
12
 
13
13
  ---
14
14
 
15
- - Native Node.js [http](https://nodejs.org/api/http.html)/[https](https://nodejs.org/api/https.html) implementation, meaning maximum performance
15
+ - Native Node.js [http](https://nodejs.org/api/http.html)/[https](https://nodejs.org/api/https.html)/[http2](https://nodejs.org/api/http2.html) implementation, meaning maximum performance
16
16
  - [Hono](https://hono.dev)-style API semantics for GET, POST, PATCH, PUT, DELETE operations
17
17
  - Supports being exposed over HTTP, HTTPS, and HTTP2
18
18
  - Supports custom middlewares
@@ -212,10 +212,10 @@ All of the settings already presented in the above examples can be provided in m
212
212
  | --cert | `<string>` | sslCert | |
213
213
  | --key | `<string>` | sslKey | |
214
214
  | --ca | `<string>` | sslCa | |
215
- | --debug | none (is flag) | debug | DEBUG |
216
215
  | --ratelimit | none (is flag) | rateLimit.enabled | |
217
216
  | --rps | `<number>` | rateLimit.requestsPerMinute | |
218
217
  | --allowed | `<comma-separated strings>` | allowedDomains | |
218
+ | --debug | none (is flag) | debug | DEBUG |
219
219
 
220
220
  ### Order of application
221
221
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mikroserve",
3
3
  "description": "Minimalistic, ready-to-use API, built on Node.js primitives.",
4
- "version": "0.0.10",
4
+ "version": "1.0.0",
5
5
  "author": "Mikael Vesavuori",
6
6
  "license": "MIT",
7
7
  "keywords": [
@@ -31,9 +31,6 @@
31
31
  "!/lib/**/*.map",
32
32
  "!/tests"
33
33
  ],
34
- "bin": {
35
- "mikroserve": "lib/index.js"
36
- },
37
34
  "scripts": {
38
35
  "test": "npm run test:licenses && npm run test:types && npm run lint && npm run test:unit",
39
36
  "test:types": "npx type-coverage --at-least 85 --strict --ignore-files \"tests/**/*.ts\" --ignore-files \"*.ts\" --ignore-files \"src/application/errors/*.ts\" --ignore-files \"testdata/*.ts\"",