Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@j9t/obsolete-html-checker

Package Overview
Dependencies
Maintainers
0
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@j9t/obsolete-html-checker

Find obsolete HTML elements and attributes

  • 1.5.1
  • unpublished
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
0
Weekly downloads
 
Created
Source

Obsolete HTML Checker

(This is a bit of an experiment, in which I used AI to produce this little HTML quality helper, its tests, and its documentation. While it’s pretty straightforward, I might have missed something obvious—I specialize more in HTML and CSS than in JavaScript. Please file an issue or contact me directly if you spot a problem or have a suggestion.)

The Obsolete HTML Checker is a Node.js script designed to scan HTML and PHP files within a specified directory for obsolete or proprietary HTML attributes and elements. It helps you identify and update deprecated HTML code to ensure modern web standards compliance.

Usage

Prerequisites

Node.js installed on your system.

Installation

npm i @j9t/obsolete-html-checker

(To install Obsolete HTML Checker globally, use the -g flag, as in npm i -g @j9t/obsolete-html-checker.)

Running the Script

You can run the script using Node.js. The script accepts a folder path as a command line option, which can be specified in both short form (-f) and long form (--folder). The folder path can be either absolute or relative.

Example Commands

Use the default directory (user home directory):

npx obsolete-html-checker

Specify a folder using an absolute path (easiest and most common use case):

npx obsolete-html-checker -f /path/to/folder

Specify a folder using a relative path:

npx obsolete-html-checker -f ../path/to/folder

Output

The script will output messages to the console indicating any obsolete attributes or elements found in the scanned files, along with the file paths where they were detected.

Keywords

FAQs

Package last updated on 10 Aug 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc