Comparing version 1.2.0 to 1.2.1
{ | ||
"name": "json-loose", | ||
"description": "Transforms loosely structured plain object strings into valid JSON strings", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"publishConfig": { | ||
@@ -21,6 +21,6 @@ "access": "public" | ||
"type": "module", | ||
"main": "dist/index.cjs", | ||
"browser": "dist/index.umd.cjs", | ||
"module": "dist/index.js", | ||
"types": "dist/index.d.ts", | ||
"main": "./dist/index.cjs", | ||
"browser": "./dist/index.umd.cjs", | ||
"module": "./dist/index.js", | ||
"types": "./dist/index.d.ts", | ||
"exports": { | ||
@@ -27,0 +27,0 @@ ".": { |
@@ -15,8 +15,9 @@ # json-loose | ||
You can also include this module directly in your HTML file from [CDN files](https://www.jsdelivr.com/package/npm/json-loose?tab=files&path=dist): | ||
Alternatively, you can also include this module directly in your HTML file from [CDN](https://www.jsdelivr.com/package/npm/json-loose?tab=files&path=dist): | ||
| Type | URL | | ||
| :--- | :--------------------------------------------------------------- | | ||
| ESM | `https://cdn.jsdelivr.net/npm/json-loose/+esm` | | ||
| UMD | `https://cdn.jsdelivr.net/npm/json-loose/dist/index.umd.min.cjs` | | ||
```html | ||
<script type="module"> | ||
import jsonLoose from 'https://cdn.jsdelivr.net/npm/json-loose/+esm' | ||
</script> | ||
``` | ||
@@ -23,0 +24,0 @@ ## Usage |
149
12839