nofollow

An npm package to give your a tags the rel no follow, so it's a link that you are not endorsing and it doesn't become relevant in your SEO

Usage no npm install needed!

<script type="module">
  import nofollow from 'https://cdn.skypack.dev/nofollow';
</script>

README

nofollow

nofollow gives your links the rel attribute of 'nofollow'

The nofollow keyword indicates that the link is not endorsed by the original author or publisher of the page, or that the link to the referenced document was included primarily because of a commercial relationship between people affiliated with the two pages.

Usage

var noFollow = require('./nofollow');

var link = document.getElementById("somelink");

noFollow.addNoFollow(somelink);