Skip to content

NigelOToole/share-url

Repository files navigation

Share URL

Share a URL with Web Share, copy to clipboard or to a social platform

Native Web Share API is used if available, can copy link to clipboard and share directly to social media.


Quick start

$ npm install @nigelotoole/share-url --save-dev

Import the JS into your project, add the elements to your HTML and initialize the plugin if needed.


License

MIT © Nigel O Toole