Skip to content

Commit 5269b97

Browse files
Merge pull request #17 from williamtroup/2.3.0
2.3.0
2 parents 2e3d326 + 004264a commit 5269b97

34 files changed

+331
-793
lines changed

README.md

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
JHson.js
33

44
[![Tweet](https://img.shields.io/twitter/url/http/shields.io.svg?style=social)](https://twitter.com/intent/tweet?text=JHson.js%2C%20a%20free%20JavaScript%json%20converter&url=https://github.com/williamtroup/JHson.js&hashtags=javascript,json,html,converter)
5-
[![npm](https://img.shields.io/badge/npmjs-v2.2.0-blue)](https://www.npmjs.com/package/jhson.js)
6-
[![nuget](https://img.shields.io/badge/nuget-v2.2.0-purple)](https://www.nuget.org/packages/JHson.js/)
5+
[![npm](https://img.shields.io/badge/npmjs-v2.3.0-blue)](https://www.npmjs.com/package/jhson.js)
6+
[![nuget](https://img.shields.io/badge/nuget-v2.3.0-purple)](https://www.nuget.org/packages/JHson.js/)
77
[![license](https://img.shields.io/badge/license-MIT-green)](https://github.com/williamtroup/JHson.js/blob/main/LICENSE.txt)
88
[![discussions Welcome](https://img.shields.io/badge/discussions-Welcome-red)](https://github.com/williamtroup/JHson.js/discussions)
99
[![coded by William Troup](https://img.shields.io/badge/coded_by-William_Troup-yellow)](https://william-troup.com/)
1010
</h1>
1111

1212
> <p align="center">📃 A JavaScript library for converting between HTML and JSON, with binding, templating, attributes, and CSS support.</p>
13-
> <p align="center">v2.2.0</p>
13+
> <p align="center">v2.3.0</p>
1414
<br />
1515
<br />
1616
@@ -27,6 +27,7 @@ JHson.js
2727
- 🔠 Data templating for text (with defaults support).
2828
- 🎥 Write CSS directly back to the head for each element!
2929
- 💧 Bind JSON directly to DOM elements!
30+
- 📷 Include and write images as Base 64 URLs.
3031
<br />
3132
<br />
3233

@@ -40,7 +41,7 @@ All modern browsers (such as Google Chrome, FireFox, and Opera) are fully suppor
4041

4142
<h1>What are the most recent changes?</h1>
4243

43-
To see a list of all the most recent changes, click [here](docs/CHANGE_LOG.md).
44+
To see a list of all the most recent changes, click [here](https://www.william-troup.com/jhson-js/documentation/recent-changes.html).
4445
<br>
4546
<br>
4647

@@ -53,11 +54,13 @@ You can install the library with npm into your local modules directory using the
5354
npm install jhson.js
5455
```
5556

56-
You can also use the following CDN links:
57+
Or, you can download the latest zipped up version [here](https://www.william-troup.com/jhson-js/download.html).
58+
59+
Or, you can also use the following CDN links:
5760

5861
```markdown
59-
https://cdn.jsdelivr.net/gh/williamtroup/JHson.js@2.2.0/dist/jhson.min.js
60-
https://cdn.jsdelivr.net/gh/williamtroup/JHson.js@2.2.0/dist/jhson.export.js
62+
https://cdn.jsdelivr.net/gh/williamtroup/JHson.js@2.3.0/dist/jhson.min.js
63+
https://cdn.jsdelivr.net/gh/williamtroup/JHson.js@2.3.0/dist/jhson.export.js
6164
```
6265
<br>
6366
<br>
@@ -105,10 +108,11 @@ Make sure you include the "DOCTYPE html" tag at the top of your HTML, as follows
105108
.includeCssProperties( true )
106109
.includeText( true )
107110
.includeChildren( true )
111+
.includeImagesAsBase64( false )
108112
.friendlyFormat( true )
109113
.indentSpaces( 2 )
110114
.ignoreNodeTypes( "q" )
111-
.ignoreNodeCondition( null ),
115+
.ignoreNodeCondition( null )
112116
.ignoreCssProperties( "padding" )
113117
.ignoreAttributes( "data-your-attribute" )
114118
.generateUniqueMissingIds( false )
@@ -164,9 +168,9 @@ Make sure you include the "DOCTYPE html" tag at the top of your HTML, as follows
164168
</div>
165169
```
166170

167-
To see a list of all the available binding options you can use for "data-jhson-js", click [here](docs/binding/OPTIONS.md).
171+
To see a list of all the available binding options you can use for "data-jhson-js", click [here](https://www.william-troup.com/jhson-js/documentation/binding-options.html).
168172

169-
To see a list of all the available custom triggers you can use for "data-jhson-js", click [here](docs/binding/CUSTOM_TRIGGERS.md).
173+
To see a list of all the available custom triggers you can use for "data-jhson-js", click [here](https://www.william-troup.com/jhson-js/documentation/binding-options-custom-triggers.html).
170174

171175
<br>
172176

@@ -186,7 +190,7 @@ To customize, and get more out of JHson.js, please read through the following do
186190

187191
### 1. Public Functions:
188192

189-
To see a list of all the public functions available, click [here](docs/PUBLIC_FUNCTIONS.md).
193+
To see a list of all the public functions available, click [here](https://www.william-troup.com/jhson-js/documentation/public-functions.html).
190194
<br>
191195
<br>
192196

@@ -203,4 +207,4 @@ Configuration options allow you to customize how JHson.js will function. You ca
203207
</script>
204208
```
205209

206-
To see a list of all the available configuration options you can use, click [here](docs/configuration/OPTIONS.md).
210+
To see a list of all the available configuration options you can use, click [here](https://www.william-troup.com/jhson-js/documentation/options.html).

README_NUGET.md

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# JHson.js v2.2.0
1+
# JHson.js v2.3.0
22

33
[![Tweet](https://img.shields.io/twitter/url/http/shields.io.svg?style=social)](https://twitter.com/intent/tweet?text=JHson.js%2C%20a%20free%20JavaScript%json%20converter&url=https://github.com/williamtroup/JHson.js&hashtags=javascript,json,html,converter)
4-
[![npm](https://img.shields.io/badge/npmjs-v2.2.0-blue)](https://www.npmjs.com/package/jhson.js)
5-
[![nuget](https://img.shields.io/badge/nuget-v2.2.0-purple)](https://www.nuget.org/packages/JHson.js/)
4+
[![npm](https://img.shields.io/badge/npmjs-v2.3.0-blue)](https://www.npmjs.com/package/jhson.js)
5+
[![nuget](https://img.shields.io/badge/nuget-v2.3.0-purple)](https://www.nuget.org/packages/JHson.js/)
66
[![license](https://img.shields.io/badge/license-MIT-green)](https://github.com/williamtroup/JHson.js/blob/main/LICENSE.txt)
77
[![discussions Welcome](https://img.shields.io/badge/discussions-Welcome-red)](https://github.com/williamtroup/JHson.js/discussions)
88
[![coded by William Troup](https://img.shields.io/badge/coded_by-William_Troup-yellow)](https://william-troup.com/)
@@ -22,6 +22,7 @@
2222
- 🔠 Data templating for text (with defaults support).
2323
- 🎥 Write CSS directly back to the head for each element!
2424
- 💧 Bind JSON directly to DOM elements!
25+
- 📷 Include and write images as Base 64 URLs.
2526

2627

2728
## What browsers are supported?
@@ -31,7 +32,7 @@ All modern browsers (such as Google Chrome, FireFox, and Opera) are fully suppor
3132

3233
## What are the most recent changes?
3334

34-
To see a list of all the most recent changes, click [here](docs/CHANGE_LOG.md).
35+
To see a list of all the most recent changes, click [here](https://www.william-troup.com/jhson-js/documentation/recent-changes.html).
3536

3637

3738
## How do I install JHson.js?
@@ -42,11 +43,13 @@ You can install the library with npm into your local modules directory using the
4243
npm install jhson.js
4344
```
4445

45-
You can also use the following CDN links:
46+
Or, you can download the latest zipped up version [here](https://www.william-troup.com/jhson-js/download.html).
47+
48+
Or, you can also use the following CDN links:
4649

4750
```markdown
48-
https://cdn.jsdelivr.net/gh/williamtroup/JHson.js@2.2.0/dist/jhson.min.js
49-
https://cdn.jsdelivr.net/gh/williamtroup/JHson.js@2.2.0/dist/jhson.export.js
51+
https://cdn.jsdelivr.net/gh/williamtroup/JHson.js@2.3.0/dist/jhson.min.js
52+
https://cdn.jsdelivr.net/gh/williamtroup/JHson.js@2.3.0/dist/jhson.export.js
5053
```
5154

5255

@@ -86,10 +89,11 @@ Make sure you include the "DOCTYPE html" tag at the top of your HTML, as follows
8689
.includeCssProperties( true )
8790
.includeText( true )
8891
.includeChildren( true )
92+
.includeImagesAsBase64( false )
8993
.friendlyFormat( true )
9094
.indentSpaces( 2 )
9195
.ignoreNodeTypes( "q" )
92-
.ignoreNodeCondition( null ),
96+
.ignoreNodeCondition( null )
9397
.ignoreCssProperties( "padding" )
9498
.ignoreAttributes( "data-your-attribute" )
9599
.generateUniqueMissingIds( false )
@@ -143,9 +147,9 @@ Make sure you include the "DOCTYPE html" tag at the top of your HTML, as follows
143147
</div>
144148
```
145149

146-
To see a list of all the available binding options you can use for "data-jhson-js", click [here](docs/binding/OPTIONS.md).
150+
To see a list of all the available binding options you can use for "data-jhson-js", click [here](https://www.william-troup.com/jhson-js/documentation/binding-options.html).
147151

148-
To see a list of all the available custom triggers you can use for "data-jhson-js", click [here](docs/binding/CUSTOM_TRIGGERS.md).
152+
To see a list of all the available custom triggers you can use for "data-jhson-js", click [here](https://www.william-troup.com/jhson-js/documentation/binding-options-custom-triggers.html).
149153

150154

151155
### 5. Finishing Up:
@@ -160,7 +164,7 @@ To customize, and get more out of JHson.js, please read through the following do
160164

161165
### 1. Public Functions:
162166

163-
To see a list of all the public functions available, click [here](docs/PUBLIC_FUNCTIONS.md).
167+
To see a list of all the public functions available, click [here](https://www.william-troup.com/jhson-js/documentation/public-functions.html).
164168

165169

166170
### 2. Configuration:
@@ -175,4 +179,4 @@ Configuration options allow you to customize how JHson.js will function. You ca
175179
</script>
176180
```
177181

178-
To see a list of all the available configuration options you can use, click [here](docs/configuration/OPTIONS.md).
182+
To see a list of all the available configuration options you can use, click [here](https://www.william-troup.com/jhson-js/documentation/options.html).

0 commit comments

Comments
 (0)