@xylabs/url 4.13.20 → 4.13.21

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 +91 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -12,13 +12,101 @@
12
12
  [![snyk-badge][]][snyk-link]
13
13
  [![socket-badge][]][socket-link]
14
14
 
15
- Version: 4.13.19
16
15
 
17
16
  Base functionality used throughout XY Labs TypeScript/JavaScript libraries
18
17
 
19
- ## Documentation
18
+ ## API Documentation
19
+
20
+ **@xylabs/url**
21
+
22
+ ***
23
+
24
+ ## Modules
25
+
26
+ - [index-browser](#index-browser/README)
27
+ - [index-neutral](#index-neutral/README)
28
+ - [index-node](#index-node/README)
29
+
30
+ ### index-browser
31
+
32
+ ### functions
33
+
34
+ ### <a id="isLocalhost"></a>isLocalhost
35
+
36
+ [**@xylabs/url**](#../../README)
37
+
38
+ ***
39
+
40
+ ```ts
41
+ function isLocalhost(hostname): boolean;
42
+ ```
43
+
44
+ ## Parameters
45
+
46
+ ### hostname
47
+
48
+ `string`
49
+
50
+ ## Returns
51
+
52
+ `boolean`
53
+
54
+ ### variables
55
+
56
+ ### <a id="URL"></a>URL
57
+
58
+ [**@xylabs/url**](#../../README)
59
+
60
+ ***
61
+
62
+ ```ts
63
+ const URL: (url, base?) => URL;
64
+ ```
65
+
66
+ ## Parameters
67
+
68
+ ### url
69
+
70
+ `string` | `URL`
71
+
72
+ ### base?
73
+
74
+ `string` | `URL`
75
+
76
+ ## Returns
77
+
78
+ `URL`
79
+
80
+ ### index-neutral
81
+
82
+ ### variables
83
+
84
+ ### <a id="URL"></a>URL
85
+
86
+ [**@xylabs/url**](#../../README)
87
+
88
+ ***
89
+
90
+ ```ts
91
+ const URL: (url, base?) => URL;
92
+ ```
93
+
94
+ ## Parameters
95
+
96
+ ### url
97
+
98
+ `string` | `URL`
99
+
100
+ ### base?
101
+
102
+ `string` | `URL`
103
+
104
+ ## Returns
105
+
106
+ `URL`
107
+
108
+ ### index-node
20
109
 
21
- Coming Soon!
22
110
 
23
111
  Part of [sdk-js](https://www.npmjs.com/package/@xyo-network/sdk-js)
24
112
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xylabs/url",
3
- "version": "4.13.20",
3
+ "version": "4.13.21",
4
4
  "description": "Base functionality used throughout XY Labs TypeScript/JavaScript libraries",
5
5
  "keywords": [
6
6
  "url",