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

html-tags

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

html-tags

List of standard HTML tags

  • 0.3.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
8.7M
decreased by-17.04%
Maintainers
1
Weekly downloads
 
Created

What is html-tags?

The npm package 'html-tags' provides a list of standard HTML tags, which can be used in various JavaScript projects to validate, generate, or manipulate HTML content. It is particularly useful for developers working with templating, HTML parsing, or any form of web content generation where knowing if a string is a valid HTML tag is necessary.

What are html-tags's main functionalities?

List of all HTML tags

This feature provides an array of all standard HTML tags. It can be used to check if a string is a valid HTML tag, or to iterate over all tags for any purpose such as generating documentation or creating dynamic HTML content.

const htmlTags = require('html-tags');
console.log(htmlTags);

List of void HTML tags

This feature provides an array of HTML tags that do not require a closing tag, known as void elements. Useful for HTML parsing or generation to ensure correct tag handling without closing tags.

const voidHtmlTags = require('html-tags/void');
console.log(voidHtmlTags);

Other packages similar to html-tags

Keywords

FAQs

Package last updated on 30 Apr 2014

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