@nigelotoole/share-url

v1.2.0

Published

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

Downloads

16

Readme

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.

Demo and documentation


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