a-rel
![Size](https://img.shields.io/bundlephobia/minzip/a-rel.svg)
List of values viable for use in rel
attributes on a
(and area
) elements,
as defined by the MicroFormats formats and HTML5 link type
extensions tables.
Install
This package is ESM only: Node 12+ is needed to use it and it must be import
ed
instead of require
d.
npm:
npm install a-rel
Use
import {aRel} from 'a-rel'
console.log(aRel.slice(0, 10))
Yields:
[ 'acquaintance',
'alternate',
'amphtml',
'appendix',
'attachment',
'bookmark',
'canonical',
'category',
'chapter',
'child' ]
API
This package exports the following identifiers: aRel
.
There is no default export.
aRel
string[]
— List of lowercase possible link types for rel
on a
and area
elements.
Related
License
MIT © Titus Wormer