Socket
Socket
Sign inDemoInstall

void-elements

Package Overview
Dependencies
0
Maintainers
7
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

void-elements

Array of "void elements" defined by the HTML specification.


Version published
Maintainers
7
Weekly downloads
6,928,984
decreased by-6.7%

Weekly downloads

Readme

Source

void-elements

Object of "void elements" defined by the HTML specification

Exports an Object of "void element" node names as defined by the HTML spec.

The list is programatically generated from the latest W3C HTML draft.

Build Status Developing Dependency Status NPM version

Usage

var voidElements = require('void-elements');

assert(!voidElements['span'], '<span> is not a void element');
assert(voidElements['img'], '<img> is a void element');

License

MIT

Keywords

FAQs

Last updated on 19 Jan 2017

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc