Skip to content

thunderrun/open-with-a-tag

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Open Link With <a> tag

Install

npm i open-link-with-a-tag

Usage

import open from "open-with-a-tag";

open('https://www.google.com/', {
  rel: 'noreferrer noopener',
  target: '_blank'
})

Browser compatibility

  • Chrome 60+

Use Babel for better browser support

About

Open link by creating a tag and simulate click it

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published