Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
List of values for rel
on <a>
and <area>
elements according to
Microformats.
This package lists values that are allowed in rel
attributes on <a>
and
<area>
elements.
These values come from Microformats.
Use this package for a list of Microformats extensions on <a>
and <area>
elements.
See link-rel
for a list of Microformats extensions to <link>
and html-link-types
if you specifically need to check which
values are allowed by the HTML spec.
This package is ESM only. In Node.js (version 12.20+, 14.14+, or 16.0+), install with npm:
npm install a-rel
In Deno with Skypack:
import {aRel} from 'https://cdn.skypack.dev/a-rel@3?dts'
In browsers with Skypack:
<script type="module">
import {aRel} from 'https://cdn.skypack.dev/a-rel@3?min'
</script>
import {aRel} from 'a-rel'
console.log(aRel.slice(0, 10))
Yields:
[
'about',
'acquaintance',
'alternate',
'amphtml',
'appendix',
'archived',
'attachment',
'bookmark',
'canonical',
'category'
]
This package exports the following identifiers: aRel
.
There is no default export.
aRel
List of lowercase types (Array<string>
).
This package is fully typed with TypeScript. There are no extra exported types.
This package is at least compatible with all maintained versions of Node.js. As of now, that is Node.js 12.20+, 14.14+, and 16.0+. It also works in Deno and modern browsers.
This package is safe.
wooorm/html-link-types
— list of link types for rel
according to HTMLwooorm/link-rel
— list of link types for rel
on link
wooorm/aria-attributes
— list of ARIA attributeswooorm/html-dangerous-encodings
— list of dangerous HTML character encoding labelswooorm/html-encodings
— list of HTML character encoding labelswooorm/meta-name
— list of values for name
on meta
wooorm/web-namespaces
— map of web namespacesYes please! See How to Contribute to Open Source.
FAQs
List of values for `rel` on `` and `` elements according to Microformats
The npm package a-rel receives a total of 0 weekly downloads. As such, a-rel popularity was classified as not popular.
We found that a-rel demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.