azurajs-scalar 1.0.0 → 1.0.2

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 +6 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -18,13 +18,15 @@
18
18
  Choose your favorite package manager:
19
19
 
20
20
  ### npm
21
+
21
22
  ```bash
22
- npm i @azurajs/scalar
23
+ npm i azurajs-scalar
23
24
  ```
24
25
 
25
26
  ### pnpm
27
+
26
28
  ```bash
27
- pnpm i @azurajs/scalar
29
+ pnpm i azurajs-scalar
28
30
  ```
29
31
 
30
32
  ---
@@ -37,7 +39,7 @@ pnpm i @azurajs/scalar
37
39
 
38
40
  ```ts
39
41
  import { AzuraClient } from "azurajs";
40
- import { Scalar } from "@azurajs/scalar";
42
+ import { Scalar } from "azurajs-scalar";
41
43
  import path from "path";
42
44
  import { fileURLToPath } from "url";
43
45
  import { applyDecorators } from "azurajs/decorators";
@@ -65,7 +67,7 @@ applyDecorators(app, Object.values(Controllers))
65
67
  ```ts
66
68
  import { Controller, Get, Res } from "azurajs/decorators";
67
69
  import { ResponseServer } from "azurajs/types";
68
- import { getScalarDocs } from "@azurajs/scalar";
70
+ import { getScalarDocs } from "azurajs-scalar";
69
71
 
70
72
  @Controller("/docs")
71
73
  export class DocsController {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "azurajs-scalar",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "Proxy middleware and controller to scalar documentation.",
5
5
  "type": "module",
6
6
  "publishConfig": {