jsdomain-parser 1.0.7 → 1.0.9
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/README.md +6 -2
- package/dist/jsdomain-parser.cjs.js +9815 -9814
- package/dist/jsdomain-parser.cjs.min.js +1 -1
- package/dist/jsdomain-parser.esm.js +9809 -9808
- package/dist/jsdomain-parser.esm.min.js +1 -1
- package/dist/{jsdomain-parser.js → jsdomain-parser.umd.js} +9821 -9819
- package/dist/jsdomain-parser.umd.min.js +1 -0
- package/example/example.html +3 -3
- package/index.js +8 -1
- package/package.json +43 -34
- package/rollup.config.js +7 -7
- package/types/index.d.ts +78 -0
- package/dist/jsdomain-parser.min.js +0 -1
package/README.md
CHANGED
|
@@ -16,12 +16,16 @@ JS Domain Parser is a lightweight JavaScript library designed to parse and extra
|
|
|
16
16
|
npm install jsdomain-parser
|
|
17
17
|
```
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
or you can include `jsdomain-parser` directly in your project by adding the following `<script>` tag to your HTML file:
|
|
20
22
|
|
|
21
23
|
```html
|
|
22
|
-
<script src="./dist/jsdomain-parser.min.js"></script>
|
|
24
|
+
<script src="./dist/jsdomain-parser.umd.min.js"></script>
|
|
23
25
|
```
|
|
24
26
|
|
|
27
|
+
This will expose the `jsDomainParser` global object in the browser.
|
|
28
|
+
|
|
25
29
|
## Usage
|
|
26
30
|
|
|
27
31
|
### Example 1: Basic Parsing
|