New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

a-rel

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

a-rel

List of link types for `rel` on `a` and `area`

  • 3.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
9
increased by125%
Maintainers
1
Weekly downloads
 
Created
Source

a-rel

Build Coverage Downloads Size

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 imported instead of required.

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.

License

MIT © Titus Wormer

Keywords

FAQs

Package last updated on 12 Mar 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc