Socket
Book a DemoInstallSign in
Socket

inline-elements

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

inline-elements

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

latest
Source
npmnpm
Version
1.1.2
Version published
Maintainers
1
Created
Source

inline-elements

Array of "inline elements" defined by the HTML specification

Exports an Array of "inline elements" node names as defined by the HTML spec.

The list is programatically generated from SPEC.

Build Status Dependency Status NPM version

Usage

var inlineElements = require('inline-elements');

assert(inlineElements.indexOf('head') === -1, '<head> is not an inline element');
assert(inlineElements.indexOf('big') !== -1, '<big> is an inline element');

License

MIT

Keywords

html

FAQs

Package last updated on 01 Dec 2016

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