{"_id":"is-potential-custom-element-name","_rev":"95866","name":"is-potential-custom-element-name","description":"Check whether a given string matches the `PotentialCustomElementName` production as defined in the HTML Standard.","dist-tags":{"latest":"1.0.1"},"maintainers":[{"name":"mathias","email":""}],"time":{"modified":"2021-06-03T10:32:00.000Z","created":"2016-06-21T18:29:34.044Z","1.0.1":"2021-04-07T07:43:00.708Z","1.0.0":"2016-06-21T18:29:34.044Z"},"users":{},"author":{"name":"Mathias Bynens","url":"https://mathiasbynens.be/"},"repository":{"type":"git","url":"git+https://github.com/mathiasbynens/is-potential-custom-element-name.git"},"versions":{"1.0.1":{"name":"is-potential-custom-element-name","version":"1.0.1","description":"Check whether a given string matches the `PotentialCustomElementName` production as defined in the HTML Standard.","homepage":"https://github.com/mathiasbynens/is-potential-custom-element-name","main":"index.js","keywords":["html","custom element","custom element name","web components"],"license":"MIT","author":{"name":"Mathias Bynens","url":"https://mathiasbynens.be/"},"repository":{"type":"git","url":"git+https://github.com/mathiasbynens/is-potential-custom-element-name.git"},"bugs":{"url":"https://github.com/mathiasbynens/is-potential-custom-element-name/issues"},"devDependencies":{"mocha":"^2.2.1","regenerate":"^1.4.2"},"scripts":{"build":"node build.js","test":"mocha"},"gitHead":"e24778654416e14cfcf259253b916e32e53aaa75","_id":"is-potential-custom-element-name@1.0.1","_nodeVersion":"14.15.0","_npmVersion":"6.14.8","dist":{"shasum":"171ed6f19e3ac554394edf78caa05784a45bebb5","size":1905,"noattachment":false,"key":"/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-potential-custom-element-name/download/is-potential-custom-element-name-1.0.1.tgz"},"_npmUser":{"name":"mathias","email":"mathias@qiwi.be"},"directories":{},"maintainers":[{"name":"mathias","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-potential-custom-element-name_1.0.1_1617781380523_0.31455370235585556"},"_hasShrinkwrap":false,"publish_time":1617781380708,"_cnpm_publish_time":1617781380708},"1.0.0":{"name":"is-potential-custom-element-name","version":"1.0.0","description":"Check whether a given string matches the `PotentialCustomElementName` production as defined in the HTML Standard.","homepage":"https://github.com/mathiasbynens/is-potential-custom-element-name","main":"index.js","files":["LICENSE-MIT.txt","index.js"],"keywords":["html","custom element","custom element name","web components"],"license":"MIT","author":{"name":"Mathias Bynens","url":"https://mathiasbynens.be/"},"repository":{"type":"git","url":"git+https://github.com/mathiasbynens/is-potential-custom-element-name.git"},"bugs":{"url":"https://github.com/mathiasbynens/is-potential-custom-element-name/issues"},"dependencies":{},"devDependencies":{"mocha":"^2.2.1","regenerate":"^1.3.1"},"scripts":{"build":"node build.js","test":"mocha"},"gitHead":"40ce324ab00825a57a5dd0d6189346046c12ee58","_id":"is-potential-custom-element-name@1.0.0","_shasum":"0c52e54bcca391bb2c494b21e8626d7336c6e397","_from":".","_npmVersion":"3.9.3","_nodeVersion":"6.2.1","_npmUser":{"name":"mathias","email":"mathias@qiwi.be"},"maintainers":[{"name":"mathias","email":""}],"dist":{"shasum":"0c52e54bcca391bb2c494b21e8626d7336c6e397","size":1444,"noattachment":false,"key":"/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-potential-custom-element-name/download/is-potential-custom-element-name-1.0.0.tgz"},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/is-potential-custom-element-name-1.0.0.tgz_1466533772314_0.8823262923397124"},"directories":{},"publish_time":1466533774044,"_cnpm_publish_time":1466533774044,"_hasShrinkwrap":false}},"readme":"# is-potential-custom-element-name [![Build status](https://travis-ci.org/mathiasbynens/is-potential-custom-element-name.svg?branch=master)](https://travis-ci.org/mathiasbynens/is-potential-custom-element-name)\n\n_is-potential-custom-element-name_ checks whether a given string matches [the `PotentialCustomElementName` production](https://html.spec.whatwg.org/multipage/scripting.html#prod-potentialcustomelementname) as defined in the HTML Standard.\n\n## Installation\n\nTo use _is-potential-custom-element-name_ programmatically, install it as a dependency via [npm](https://www.npmjs.com/):\n\n```bash\n$ npm install is-potential-custom-element-name\n```\n\nThen, `require` it:\n\n```js\nconst isPotentialCustomElementName = require('is-potential-custom-element-name');\n```\n\n## Usage\n\n```js\nisPotentialCustomElementName('foo-bar');\n// → true\nisPotentialCustomElementName('Foo-bar');\n// → false\nisPotentialCustomElementName('baz-©');\n// → false\nisPotentialCustomElementName('annotation-xml');\n// → true\n```\n\n## Author\n\n| [![twitter/mathias](https://gravatar.com/avatar/24e08a9ea84deb17ae121074d0f17125?s=70)](https://twitter.com/mathias \"Follow @mathias on Twitter\") |\n|---|\n| [Mathias Bynens](https://mathiasbynens.be/) |\n\n## License\n\n_is-potential-custom-element-name_ is available under the [MIT](https://mths.be/mit) license.\n","_attachments":{},"homepage":"https://github.com/mathiasbynens/is-potential-custom-element-name","bugs":{"url":"https://github.com/mathiasbynens/is-potential-custom-element-name/issues"},"license":"MIT"}