🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@adplata/html-validate-offline

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@adplata/html-validate-offline - npm Package Compare versions

Comparing version
1.0.0
to
1.0.1
+1
-1
package.json
{
"name": "@adplata/html-validate-offline",
"version": "1.0.0",
"version": "1.0.1",
"description": "Html validate offline",

@@ -5,0 +5,0 @@ "main": "./src/index.js",

@@ -10,6 +10,6 @@ ## Installation

```script
const HtmlValidate = require('html-validate-offline')
const htmlValidateOffline = require('html-validate-offline')
HtmlValidate.exportProducts() # return { status, message }
htmlValidateOffline.htmlValidate('Your HTML code') # return { status, message }

@@ -16,0 +16,0 @@ status: true/false - Boolean

@@ -5,3 +5,3 @@ 'use strict'

const validateHTML = (html) => {
function validateHTML(html) {
try {

@@ -8,0 +8,0 @@ let message = 'The tags in this html are correct'