1.0.1 • Published 4 years ago

is-potential-custom-element-name v1.0.1

Weekly downloads
6,435,158
License
MIT
Repository
github
Last release
4 years ago

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.

jsdomreact-native-bluetooth2ticket-jsdomreact-native-template-rfbaseairscanairscan-examplereact-native-esc-pos-sahaab@borisovart/atol-kkt-moduledeneme323112@ntt_app/react-native-custom-notificationreact-native-covid-sdkbitget@olivervorasai/sliderreact-native-printer-brotherswilscannerstretch-rollup@mink-opn/build-tokenssvelte-slime@infinitebrahmanuniverse/nolb-is-pplginsklif-ui-kitsklif-api@everything-registry/sub-chunk-1934p149-table@pmadhur/jsdomsklif-uitailwind-vector-effectsyncbackbasessvelvet-customwoven-challenge-deployrn-tm-notifyrn-use-modal-hookrn-session-multiplier-demornttlockresponsis-gantt-task-reactreactofy-css-libraryreikamoon-string-library-aarfp-librn-adyen-dropinsuperset-plugin-chart-hello-world2supercluster-googlemaps-adapter-clonesstanikionespotify-ds-sestarbucks-jp-drinkstp-cdksdenv-jsdomreact-native-video-typosvelte-component-libvision-camera-plugin-scan-facesvalidate-element-namevue-axios-rest@atlantjs.dev/guardian@simstudio/htmldiffdfeuk-frontenddfeuk-frontend-manualanci-reactzzzxxxyyy321123mobtimer-api2lib-errorlight-jsdomgogencygogency-test-2jsdom-rnjsdom-tougher-cookiejsdom-lambdajsdom-napi-rs-canvasjsfuckdomis-valid-element-nameinstall-ismicroend-componentmpd-parser-1mpesa-cookiempesa-cookie-jarmpp_design_sysjulien-easy-modalk0ng_d1nosaur_quenak0ng_d1nosaur_quenbk0ng_d1nosaur_quenck0ng_d1nosaur_quendk0ng_d1nosaur_quenek0ng_d1nosaur_quenfk0ng_d1nosaur_quengk0ng_d1nosaur_quenhk0ng_d1nosaur_quenik0ng_d1nosaur_quenjk0ng_d1nosaur_quenkk0ng_d1nosaur_quenlk0ng_d1nosaur_quenmk0ng_d1nosaur_quennk0ng_d1nosaur_quenok0ng_d1nosaur_quenpk0ng_d1nosaur_quenqk0ng_d1nosaur_quenrk0ng_d1nosaur_quensk0ng_d1nosaur_quentk0ng_d1nosaur_quenuk0ng_d1nosaur_quenvk0ng_d1nosaur_quenwk0ng_d1nosaur_quenxk0ng_d1nosaur_queny
1.0.1

4 years ago

1.0.0

8 years ago