href-checker
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -8,6 +8,8 @@ #!/usr/bin/env node | ||
const sade_1 = __importDefault(require("sade")); | ||
const path_1 = require("path"); | ||
const fs_1 = require("fs"); | ||
const index_js_1 = require("./index.js"); | ||
const { version } = JSON.parse(fs_1.readFileSync(path_1.join(__dirname, "package.json"), "utf-8")); | ||
sade_1.default("href-checker <url>", true) | ||
.version(JSON.parse(fs_1.readFileSync("./package.json", "utf-8")).version) | ||
.version(version) | ||
.example("https://example.com") | ||
@@ -14,0 +16,0 @@ .example("https://sidvishnoi.github.io/ --no-off-site --format=json") |
{ | ||
"name": "href-checker", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Hyperlink checker for HTML pages which checks href attributes by actually visiting linked pages and also checking existence of URL fragments.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
14575
290