w-data-html-minify 1.0.4 → 1.0.6

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 CHANGED
@@ -6,6 +6,7 @@ A tool for minify html.
6
6
  [![license](https://img.shields.io/npm/l/w-data-html-minify.svg?style=flat)](https://npmjs.org/package/w-data-html-minify)
7
7
  [![gzip file size](http://img.badgesize.io/yuda-lyu/w-data-html-minify/master/dist/w-data-html-minify.umd.js.svg?compression=gzip)](https://github.com/yuda-lyu/w-data-html-minify)
8
8
  [![npm download](https://img.shields.io/npm/dt/w-data-html-minify.svg)](https://npmjs.org/package/w-data-html-minify)
9
+ [![npm download](https://img.shields.io/npm/dm/w-data-html-minify.svg)](https://npmjs.org/package/w-data-html-minify)
9
10
  [![jsdelivr download](https://img.shields.io/jsdelivr/npm/hm/w-data-html-minify.svg)](https://www.jsdelivr.com/package/npm/w-data-html-minify)
10
11
 
11
12
  ## Documentation
@@ -34,7 +35,6 @@ let hin = `
34
35
  let hout = wdhm(hin)
35
36
  console.log(hout)
36
37
  // => <html><head></head><body>abc</body></html>
37
-
38
38
  ```
39
39
 
40
40
  ### In a browser(UMD module):
@@ -42,13 +42,12 @@ console.log(hout)
42
42
 
43
43
  [Necessary] Add script for w-data-html-minify.
44
44
  ```alias
45
- <script src="https://cdn.jsdelivr.net/npm/w-data-html-minify@1.0.4/dist/w-data-html-minify.umd.js"></script>
45
+ <script src="https://cdn.jsdelivr.net/npm/w-data-html-minify@1.0.6/dist/w-data-html-minify.umd.js"></script>
46
46
  ```
47
47
 
48
48
  > **minify html:** [ex-html-minify.html](https://yuda-lyu.github.io/w-data-html-minify/examples/ex-html-minify.html) [[source code](https://github.com/yuda-lyu/w-data-html-minify/blob/master/docs/examples/ex-html-minify.html)]
49
49
 
50
50
  ```alias
51
-
52
51
  let wdhm = window['w-data-html-minify']
53
52
  // console.log(wdhm)
54
53
 
@@ -61,5 +60,4 @@ let hin = `
61
60
  let hout = wdhm(hin)
62
61
  console.log(hout)
63
62
  // => <html><head></head><body>abc</body></html>
64
-
65
63
  ```