Comparing version 0.0.1 to 0.0.2
{ | ||
"name": "html2json", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "html to json & json to html", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -7,11 +7,24 @@ # html2json & json2html | ||
## How to use | ||
### browser | ||
include htmlparser.js & html2json.js scripts: | ||
```html | ||
<script src="http://ejohn.org/files/htmlparser.js"></script> | ||
<script src="lib/html2json.js"></script> | ||
<script src="https://cdn.rawgit.com/blowsie/Pure-JavaScript-HTML5-Parser/master/htmlparser.js"></script> | ||
<script src="src/html2json.js"></script> | ||
``` | ||
### node | ||
```javascript | ||
require('html2json').html2json; | ||
require('html2json').json2html; | ||
``` | ||
### result | ||
json: | ||
@@ -63,4 +76,2 @@ | ||
result: | ||
```javascript | ||
@@ -67,0 +78,0 @@ json === html2json(html); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
27427
13
658
88
0