Big update!Announcing Socket for GitHub 1.0. Learn more
Socket
BlogLoveFAQ
Install
Log in

is-potential-custom-element-name

Package Overview
Dependencies
0
Maintainers
1
Versions
2
Issues
File Explorer

Advanced tools

is-potential-custom-element-name

Check whether a given string matches the `PotentialCustomElementName` production as defined in the HTML Standard.

    1.0.1latest

Version published
Maintainers
1
Weekly downloads
13,339,017
increased by1.54%

Weekly downloads

Readme

Source

is-potential-custom-element-name Build status

is-potential-custom-element-name checks whether a given string matches the PotentialCustomElementName production as defined in the HTML Standard.

Installation

To use is-potential-custom-element-name programmatically, install it as a dependency via npm:

$ npm install is-potential-custom-element-name

Then, require it:

const isPotentialCustomElementName = require('is-potential-custom-element-name');

Usage

isPotentialCustomElementName('foo-bar'); // → true isPotentialCustomElementName('Foo-bar'); // → false isPotentialCustomElementName('baz-©'); // → false isPotentialCustomElementName('annotation-xml'); // → true

Author

twitter/mathias
Mathias Bynens

License

is-potential-custom-element-name is available under the MIT license.

Keywords

FAQs

What is is-potential-custom-element-name?

Check whether a given string matches the `PotentialCustomElementName` production as defined in the HTML Standard.

Is is-potential-custom-element-name popular?

The npm package is-potential-custom-element-name receives a total of 10,833,839 weekly downloads. As such, is-potential-custom-element-name popularity was classified as popular.

Is is-potential-custom-element-name well maintained?

We found that is-potential-custom-element-name demonstrated a not healthy version release cadence and project activity. It has 1 open source maintainer collaborating on the project.

Last updated on 07 Apr 2021
Socket

Product

Subscribe to our newsletter

Get open source security insights delivered straight into your inbox. Be the first to learn about new features and product updates.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc