const sharer = require('sh4r3r')
let input = {
text: 'this is my first package.',
url: 'https://btnerylmz.me',
hashtags: ['Node.js', 'JavaScript', 'npm']
}
console.log(sharer(input, 'twitter'))
// Returns: http://twitter.com/share?text=this%20is%20my%20first%20package.&url=https://btnerylmz.me&hashtags=Node.js,JavaScript,npm
-
Notifications
You must be signed in to change notification settings - Fork 0
batin/sh4r3r
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
npm
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published