https://github.com/nigelotoole/share-url
Share a URL with Web Share, copy to clipboard or to social media
https://github.com/nigelotoole/share-url
javascript share social webcomponent
Last synced: 10 months ago
JSON representation
Share a URL with Web Share, copy to clipboard or to social media
- Host: GitHub
- URL: https://github.com/nigelotoole/share-url
- Owner: NigelOToole
- License: mit
- Created: 2024-02-28T13:58:24.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-01-06T11:19:06.000Z (about 1 year ago)
- Last Synced: 2025-04-09T15:03:07.230Z (10 months ago)
- Topics: javascript, share, social, webcomponent
- Language: CSS
- Homepage: https://nigelotoole.github.io/share-url/
- Size: 332 KB
- Stars: 65
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
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](http://nigelotoole.github.io/share-url/)
---
## Quick start
```javascript
$ 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