Package Exports
- html-url-attributes
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (html-url-attributes) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
html-url-attributes
Map of URL attributes in HTML.
Install
This package is ESM only:
Node 12+ is needed to use it and it must be imported
ed instead of required
d.
npm:
npm install html-url-attributes
This package exports the following identifiers:
urlAttributes
.
There is no default export.
Use
import {urlAttributes} from 'html-url-attributes'
urlAttributes.formAction
//=> ['button', 'input']
urlAttributes.href
//=> ['a', 'area', 'base', 'link']
API
urlAttributes
Map of URL attributes in HTML (Record<string, string[]>
).
Contribute
See contributing.md
in rehypejs/.github
for ways
to get started.
See support.md
for ways to get help.
This project has a code of conduct. By interacting with this repository, organization, or community you agree to abide by its terms.