Thanks to visit codestin.com
Credit goes to github.com

Skip to content

wooorm/link-rel

Repository files navigation

link-rel

Build Downloads Size

List of values viable for use in rel attributes on link elements, as defined by HTML and MicroFormats.

See html-link-types for just the specced types.

Install

npm:

npm install link-rel

Use

var linkRel = require('link-rel')

console.log(linkRel.length) //=> 112

console.log(linkRel.slice(0, 10))

Yields:

[ 'DCTERMS.conformsTo',
  'DCTERMS.contributor',
  'DCTERMS.creator',
  'DCTERMS.description',
  'DCTERMS.hasFormat',
  'DCTERMS.hasPart',
  'DCTERMS.hasVersion',
  'DCTERMS.isFormatOf',
  'DCTERMS.isPartOf',
  'DCTERMS.isReferencedBy' ]

API

linkRel

Array.<string> — List of lowercase possible link types for rel on link elements.

License

MIT © Titus Wormer

About

List of valid values for `rel` on `<link>`

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Contributors 2

  •  
  •