https://github.com/ecrmnn/dele
Social sharing links made easy
https://github.com/ecrmnn/dele
Last synced: 9 months ago
JSON representation
Social sharing links made easy
- Host: GitHub
- URL: https://github.com/ecrmnn/dele
- Owner: ecrmnn
- Created: 2015-08-16T15:07:13.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-08-16T16:12:21.000Z (over 10 years ago)
- Last Synced: 2025-03-11T05:17:51.310Z (10 months ago)
- Language: JavaScript
- Size: 129 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# dele
['deːlə], verb
**Social sharing links made easy**
Share via ``facebook()``, ``twitter()``, ``google()``, ``linkedIn()`` or ``email()``
### Installation
Install using NPM
$ npm install dele --save-dev
### Usage
Browserify example;
See also example/browserify/browserify.html
**Javascript**
// something.js
window.dele = require('dele');
**HTML**
// something.html
Share on Facebook
Share on Twitter
**Custom URL and title**
**dele** shares the current url and current title by default. If you wish to override this, simply use ``url()`` and ``title()``
// something.html
Share on LinkedIn