JSPM

html-url-attributes

2.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3034434
  • Score
    100M100P100Q206187F
  • License MIT

Map of URL attributes in HTML

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

Build Coverage Downloads Size Sponsors Backers Chat

Map of URL attributes in HTML.

Install

This package is ESM only: Node 12+ is needed to use it and it must be importeded instead of requiredd.

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.

License

MIT © Titus Wormer