json-server 0.17.4 → 1.0.0-alpha.3
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.
- package/LICENSE +44 -20
- package/README.md +52 -573
- package/lib/app.d.ts +8 -0
- package/lib/app.js +75 -0
- package/lib/app.test.d.ts +1 -0
- package/lib/app.test.js +73 -0
- package/lib/bin.d.ts +2 -0
- package/lib/bin.js +92 -0
- package/lib/observer.d.ts +11 -0
- package/lib/observer.js +30 -0
- package/lib/service.d.ts +39 -0
- package/lib/service.js +270 -0
- package/lib/service.test.d.ts +1 -0
- package/lib/service.test.js +251 -0
- package/lib/tsconfig.tsbuildinfo +1 -0
- package/package.json +39 -89
- package/public/output.css +1086 -0
- package/lib/cli/bin.js +0 -5
- package/lib/cli/index.js +0 -77
- package/lib/cli/run.js +0 -213
- package/lib/cli/utils/is.js +0 -16
- package/lib/cli/utils/load.js +0 -69
- package/lib/server/body-parser.js +0 -9
- package/lib/server/defaults.js +0 -73
- package/lib/server/index.js +0 -10
- package/lib/server/mixins.js +0 -76
- package/lib/server/rewriter.js +0 -14
- package/lib/server/router/delay.js +0 -10
- package/lib/server/router/get-full-url.js +0 -10
- package/lib/server/router/index.js +0 -91
- package/lib/server/router/nested.js +0 -26
- package/lib/server/router/plural.js +0 -273
- package/lib/server/router/singular.js +0 -52
- package/lib/server/router/validate-data.js +0 -17
- package/lib/server/router/write.js +0 -8
- package/lib/server/utils.js +0 -26
- package/public/favicon.ico +0 -0
- package/public/index.html +0 -85
- package/public/script.js +0 -76
- package/public/style.css +0 -113
package/LICENSE
CHANGED
|
@@ -1,20 +1,44 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Copyright (
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
1
|
+
Fair Source License, version 0.9
|
|
2
|
+
|
|
3
|
+
Copyright (C) 2023-present typicode
|
|
4
|
+
|
|
5
|
+
Licensor: typicode
|
|
6
|
+
|
|
7
|
+
Software: json-server
|
|
8
|
+
|
|
9
|
+
Use Limitation: 2 users
|
|
10
|
+
|
|
11
|
+
License Grant. Licensor hereby grants to each recipient of the
|
|
12
|
+
Software ("you") a non-exclusive, non-transferable, royalty-free and
|
|
13
|
+
fully-paid-up license, under all of the Licensor's copyright and
|
|
14
|
+
patent rights, to use, copy, distribute, prepare derivative works of,
|
|
15
|
+
publicly perform and display the Software, subject to the Use
|
|
16
|
+
Limitation and the conditions set forth below.
|
|
17
|
+
|
|
18
|
+
Use Limitation. The license granted above allows use by up to the
|
|
19
|
+
number of users per entity set forth above (the "Use Limitation"). For
|
|
20
|
+
determining the number of users, "you" includes all affiliates,
|
|
21
|
+
meaning legal entities controlling, controlled by, or under common
|
|
22
|
+
control with you. If you exceed the Use Limitation, your use is
|
|
23
|
+
subject to payment of Licensor’s then-current list price for licenses.
|
|
24
|
+
|
|
25
|
+
Conditions. Redistribution in source code or other forms must include
|
|
26
|
+
a copy of this license document to be provided in a reasonable
|
|
27
|
+
manner. Any redistribution of the Software is only allowed subject to
|
|
28
|
+
this license.
|
|
29
|
+
|
|
30
|
+
Trademarks. This license does not grant you any right in the
|
|
31
|
+
trademarks, service marks, brand names or logos of Licensor.
|
|
32
|
+
|
|
33
|
+
DISCLAIMER. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OR
|
|
34
|
+
CONDITION, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO WARRANTIES
|
|
35
|
+
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
36
|
+
NONINFRINGEMENT. LICENSORS HEREBY DISCLAIM ALL LIABILITY, WHETHER IN
|
|
37
|
+
AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
38
|
+
CONNECTION WITH THE SOFTWARE.
|
|
39
|
+
|
|
40
|
+
Termination. If you violate the terms of this license, your rights
|
|
41
|
+
will terminate automatically and will not be reinstated without the
|
|
42
|
+
prior written consent of Licensor. Any such termination will not
|
|
43
|
+
affect the right of others who may have received copies of the
|
|
44
|
+
Software from you.
|