{"_id":"jssocials","_rev":"12-dd9c292c52c50588b2309639ee138813","name":"jssocials","description":"jsSocials - jQuery Social Network Sharing Plugin","dist-tags":{"latest":"1.5.0"},"versions":{"0.1.0":{"name":"jssocials","version":"0.1.0","main":"dist/jssocials.js","description":"jsSocials - jQuery Social Network Sharing Plugin","homepage":"http://js-socials.com","keywords":["jquery-plugin","social-network","sharing","social-share"],"author":{"name":"Artem Tabalin","email":"tabalinas@gmail.com","url":"https://github.com/tabalinas"},"repository":{"type":"git","url":"https://github.com/tabalinas/jssocials"},"bugs":{"url":"https://github.com/tabalinas/jssocials/issues"},"license":"MIT","scripts":{"test":"grunt"},"dependencies":{},"devDependencies":{"grunt":"^0.4.5","grunt-autoprefixer":"^3.0.0","grunt-contrib-clean":"^0.6.0","grunt-contrib-concat":"^0.5.0","grunt-contrib-jshint":"^0.10.0","grunt-contrib-qunit":"^0.5.1","grunt-contrib-sass":"^0.9.2","grunt-contrib-uglify":"^0.7.0","jshint-stylish":"^1.0.0","load-grunt-tasks":"^2.0.0","time-grunt":"^1.0.0"},"gitHead":"6631a360d0005a13e18318bb0b24312244b1f646","_id":"jssocials@0.1.0","_shasum":"fb1765210b5dedb559ac67382b7349c79a40367b","_from":".","_npmVersion":"2.7.1","_nodeVersion":"0.10.28","_npmUser":{"name":"tabalin","email":"tabalinas@gmail.com"},"maintainers":[{"name":"tabalin","email":"tabalinas@gmail.com"}],"dist":{"shasum":"fb1765210b5dedb559ac67382b7349c79a40367b","tarball":"https://registry.npmjs.org/jssocials/-/jssocials-0.1.0.tgz","integrity":"sha512-tNNdf2lIUdk7DBs+ZemK8lQNqL5rRu5JXFdsxfPCgpp/U2lN3mYk3ElFGsT5JFA4tfKX3Y6PzNNVwgSWQTE0sg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCR05/zUgPMvPuUvS/Kzr8fuS5lgbEuxskY0ZO9NQSi7wIgBMQmAZcIS1DjDC7UShhRnOutXNo/ka8UiTggC+LDs4A="}]}},"0.2.0":{"name":"jssocials","version":"0.2.0","main":"dist/jssocials.js","description":"jsSocials - jQuery Social Network Sharing Plugin","homepage":"http://js-socials.com","keywords":["jquery-plugin","social-network","sharing","social-share"],"author":{"name":"Artem Tabalin","email":"tabalinas@gmail.com","url":"https://github.com/tabalinas"},"repository":{"type":"git","url":"https://github.com/tabalinas/jssocials"},"bugs":{"url":"https://github.com/tabalinas/jssocials/issues"},"license":"MIT","scripts":{"test":"grunt"},"dependencies":{},"devDependencies":{"grunt":"^0.4.5","grunt-autoprefixer":"^3.0.0","grunt-contrib-clean":"^0.6.0","grunt-contrib-concat":"^0.5.0","grunt-contrib-jshint":"^0.10.0","grunt-contrib-qunit":"^0.5.1","grunt-contrib-sass":"^0.9.2","grunt-contrib-uglify":"^0.7.0","jshint-stylish":"^1.0.0","load-grunt-tasks":"^2.0.0","time-grunt":"^1.0.0"},"gitHead":"10030384fddca0cfb301ce10abcfbd73a218111b","_id":"jssocials@0.2.0","_shasum":"186f6267b0bca4d6c30aa4e12c1e167fa8133976","_from":".","_npmVersion":"2.7.1","_nodeVersion":"0.10.28","_npmUser":{"name":"tabalin","email":"tabalinas@gmail.com"},"maintainers":[{"name":"tabalin","email":"tabalinas@gmail.com"}],"dist":{"shasum":"186f6267b0bca4d6c30aa4e12c1e167fa8133976","tarball":"https://registry.npmjs.org/jssocials/-/jssocials-0.2.0.tgz","integrity":"sha512-2Xx9vH/8Z2GHmxJ1NytWLON7XinqG7S4owQF/466CgD8QbFGaJF3m49wGnzCsnKpSLKz3sma+9Ml8xaxvg4kOw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC4VUqSX1iIkN6mGS4u98ZvyyQO4q5xbaU4fyLUZWuPBAiEAhJ/qO2tx+vluc2zDK07m5CJ6PiTkG4cp4a3lQbzhvdg="}]}},"1.0.0":{"name":"jssocials","version":"1.0.0","main":"dist/jssocials.js","description":"jsSocials - jQuery Social Network Sharing Plugin","homepage":"http://js-socials.com","keywords":["jquery-plugin","social-network","sharing","social-share"],"author":{"name":"Artem Tabalin","email":"tabalinas@gmail.com","url":"https://github.com/tabalinas"},"repository":{"type":"git","url":"git+https://github.com/tabalinas/jssocials.git"},"bugs":{"url":"https://github.com/tabalinas/jssocials/issues"},"license":"MIT","scripts":{"test":"grunt"},"dependencies":{},"devDependencies":{"grunt":"^0.4.5","grunt-autoprefixer":"^3.0.0","grunt-contrib-clean":"^0.6.0","grunt-contrib-concat":"^0.5.0","grunt-contrib-jshint":"^0.10.0","grunt-contrib-qunit":"^0.5.1","grunt-contrib-sass":"^0.9.2","grunt-contrib-uglify":"^0.7.0","jshint-stylish":"^1.0.0","load-grunt-tasks":"^2.0.0","time-grunt":"^1.0.0"},"gitHead":"0c8fefeea16ff8aa1f436b0baeeb04646616bbbb","_id":"jssocials@1.0.0","_shasum":"9f81ef99944d39d7fef9feab13499cde70872e22","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"tabalin","email":"tabalinas@gmail.com"},"maintainers":[{"name":"tabalin","email":"tabalinas@gmail.com"}],"dist":{"shasum":"9f81ef99944d39d7fef9feab13499cde70872e22","tarball":"https://registry.npmjs.org/jssocials/-/jssocials-1.0.0.tgz","integrity":"sha512-Yrgn0RX0xZn5ddTsDR93VqC2qL2T6kBVN5B48AXlvPLNfB4MzBD/OoB77ISTQWuQLQt7HzPlz0oN0Mwa/kolNA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCgEFaAF1t86cX697Dw4sd1tRSYTGjnYARfD+ZPsNMPhAIgFDShUEapX8Uz01a1q+HOlSrMzTX3QSOhzKnbLXFMz8Y="}]}},"1.1.0":{"name":"jssocials","version":"1.1.0","main":["dist/jssocials.js","dist/jssocials.css","dist/jsgrid-theme-flat.css"],"description":"jsSocials - jQuery Social Network Sharing Plugin","homepage":"http://js-socials.com","keywords":["jquery-plugin","social-network","sharing","social-share"],"author":{"name":"Artem Tabalin","email":"tabalinas@gmail.com","url":"https://github.com/tabalinas"},"repository":{"type":"git","url":"git+https://github.com/tabalinas/jssocials.git"},"bugs":{"url":"https://github.com/tabalinas/jssocials/issues"},"license":"MIT","scripts":{"test":"grunt"},"dependencies":{},"devDependencies":{"grunt":"^0.4.5","grunt-autoprefixer":"^3.0.0","grunt-contrib-clean":"^0.6.0","grunt-contrib-concat":"^0.5.0","grunt-contrib-jshint":"^0.10.0","grunt-contrib-qunit":"^0.5.1","grunt-contrib-sass":"^0.9.2","grunt-contrib-uglify":"^0.7.0","jshint-stylish":"^1.0.0","load-grunt-tasks":"^2.0.0","time-grunt":"^1.0.0"},"gitHead":"1740335fb69c85ea3a07f8fffe7366500e583948","_id":"jssocials@1.1.0","_shasum":"e8a75239396fed95a8eb89e725d80b5a64d430f2","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"tabalin","email":"tabalinas@gmail.com"},"maintainers":[{"name":"tabalin","email":"tabalinas@gmail.com"}],"dist":{"shasum":"e8a75239396fed95a8eb89e725d80b5a64d430f2","tarball":"https://registry.npmjs.org/jssocials/-/jssocials-1.1.0.tgz","integrity":"sha512-WTwZKUz6RBlE3REZC6Tznvw6tbm4rWrxz3S7zd3OkGTZrQFDyNbAOPr7FzkqHiZsS4PHbwEsBGxs9Rn5QqLBqg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBITAw9qvbP7zD1a2uR9qFSGrSohq6W4F5rgedZRsoFbAiA3Fkx34IIhqhjBLdOHYtv0CcCjbyYvN+5XirjuJeZl5A=="}]}},"1.2.0":{"name":"jssocials","version":"1.2.0","main":["dist/jssocials.js","dist/jssocials.css","dist/jsgrid-theme-flat.css"],"description":"jsSocials - jQuery Social Network Sharing Plugin","homepage":"http://js-socials.com","keywords":["jquery-plugin","social-network","sharing","social-share"],"author":{"name":"Artem Tabalin","email":"tabalinas@gmail.com","url":"https://github.com/tabalinas"},"repository":{"type":"git","url":"git+https://github.com/tabalinas/jssocials.git"},"bugs":{"url":"https://github.com/tabalinas/jssocials/issues"},"license":"MIT","scripts":{"test":"grunt"},"dependencies":{},"devDependencies":{"grunt":"^0.4.5","grunt-autoprefixer":"^3.0.0","grunt-contrib-clean":"^0.6.0","grunt-contrib-concat":"^0.5.0","grunt-contrib-jshint":"^0.10.0","grunt-contrib-qunit":"^0.5.1","grunt-contrib-sass":"^0.9.2","grunt-contrib-uglify":"^0.7.0","jshint-stylish":"^1.0.0","load-grunt-tasks":"^2.0.0","time-grunt":"^1.0.0"},"gitHead":"4dfa0001165658bb631d8f6305aa92177036c059","_id":"jssocials@1.2.0","_shasum":"574d63847a4cbb58c27c06500b447d354a13a83a","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"tabalin","email":"tabalinas@gmail.com"},"maintainers":[{"name":"tabalin","email":"tabalinas@gmail.com"}],"dist":{"shasum":"574d63847a4cbb58c27c06500b447d354a13a83a","tarball":"https://registry.npmjs.org/jssocials/-/jssocials-1.2.0.tgz","integrity":"sha512-PzL8g+8YjZBts6DuADACZG6tX5N2L2eDsM9D7zwZzn1hcE7SJ1ycHD4XAprLEOKyyLXHpyznB4wv0VuO3yCkMQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDTvRjsmRUQ5V3plOSKZxfE2qbl6UITdrZDYLcuwW6hvwIhAIYeFoe0qe1xjJi/GCQrfIS/vCkYxIVS3yqDtCywAIj0"}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/jssocials-1.2.0.tgz_1459756246855_0.9825160640757531"}},"1.2.1":{"name":"jssocials","version":"1.2.1","main":["dist/jssocials.js","dist/jssocials.css","dist/jsgrid-theme-flat.css"],"description":"jsSocials - jQuery Social Network Sharing Plugin","homepage":"http://js-socials.com","keywords":["jquery-plugin","social-network","sharing","social-share"],"author":{"name":"Artem Tabalin","email":"tabalinas@gmail.com","url":"https://github.com/tabalinas"},"repository":{"type":"git","url":"git+https://github.com/tabalinas/jssocials.git"},"bugs":{"url":"https://github.com/tabalinas/jssocials/issues"},"license":"MIT","scripts":{"test":"grunt"},"dependencies":{},"devDependencies":{"grunt":"^0.4.5","grunt-autoprefixer":"^3.0.0","grunt-contrib-clean":"^0.6.0","grunt-contrib-concat":"^0.5.0","grunt-contrib-jshint":"^0.10.0","grunt-contrib-qunit":"^0.5.1","grunt-contrib-sass":"^0.9.2","grunt-contrib-uglify":"^0.7.0","jshint-stylish":"^1.0.0","load-grunt-tasks":"^2.0.0","time-grunt":"^1.0.0"},"gitHead":"651829e4794a560139f18d8e0c5c85f4411b9689","_id":"jssocials@1.2.1","_shasum":"2491b267f09b1b0907ef261fd41168a9abb19b9d","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"tabalin","email":"tabalinas@gmail.com"},"maintainers":[{"name":"tabalin","email":"tabalinas@gmail.com"}],"dist":{"shasum":"2491b267f09b1b0907ef261fd41168a9abb19b9d","tarball":"https://registry.npmjs.org/jssocials/-/jssocials-1.2.1.tgz","integrity":"sha512-SaT8BKqo+AfarEgGB3AEM+hUsgmroSlScQQwH8UrcIuYQenOFrE8gikrch2cPOBiWdtDuGEuzhJia+Ze8MbW2A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFpP5oG9ZoaoVZnoNz+/5ruSlOYPbP9jyod0nWufuD+rAiB/pQop6uAUioBMZfKJt1W4K9q1CoUEMgfi11+ZYqu7mA=="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/jssocials-1.2.1.tgz_1460307039071_0.04803882981650531"}},"1.3.0":{"name":"jssocials","version":"1.3.0","main":"dist/jssocials.js","description":"jsSocials - jQuery Social Network Sharing Plugin","homepage":"http://js-socials.com","keywords":["jquery-plugin","social-network","sharing","social-share"],"author":{"name":"Artem Tabalin","email":"tabalinas@gmail.com","url":"https://github.com/tabalinas"},"repository":{"type":"git","url":"git+https://github.com/tabalinas/jssocials.git"},"bugs":{"url":"https://github.com/tabalinas/jssocials/issues"},"license":"MIT","scripts":{"test":"grunt"},"dependencies":{},"devDependencies":{"grunt":"^0.4.5","grunt-autoprefixer":"^3.0.0","grunt-contrib-clean":"^0.6.0","grunt-contrib-concat":"^0.5.0","grunt-contrib-jshint":"^0.10.0","grunt-contrib-qunit":"^0.5.1","grunt-contrib-sass":"^0.9.2","grunt-contrib-uglify":"^0.7.0","jshint-stylish":"^1.0.0","load-grunt-tasks":"^2.0.0","time-grunt":"^1.0.0"},"gitHead":"17a8d447c2c4e1ab3a111b6a7a560d8ceedc10e8","_id":"jssocials@1.3.0","_shasum":"2ae28d5dc327ec76ed0140a9fad4a1befea823bd","_from":".","_npmVersion":"2.15.8","_nodeVersion":"4.4.7","_npmUser":{"name":"tabalin","email":"tabalinas@gmail.com"},"maintainers":[{"name":"tabalin","email":"tabalinas@gmail.com"}],"dist":{"shasum":"2ae28d5dc327ec76ed0140a9fad4a1befea823bd","tarball":"https://registry.npmjs.org/jssocials/-/jssocials-1.3.0.tgz","integrity":"sha512-KlNhKauq2/8HYTBPHFHCPaWJzEQa14Gcbr6TXVtVdkosVCRzi+rrDCG960tPo62JMX4/VVB8cPTJwn6AkoKJvA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEHslWgyi96QxgpF8dUplpxHQCkv33CUv9NeU2IB4KOIAiEA4C2AUs7PRoofiZY7I96V8t/nYc6HcRYC89iKgkhERT0="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/jssocials-1.3.0.tgz_1471521548668_0.665625523775816"}},"1.3.1":{"name":"jssocials","version":"1.3.1","main":"dist/jssocials.js","description":"jsSocials - jQuery Social Network Sharing Plugin","homepage":"http://js-socials.com","keywords":["jquery-plugin","social-network","sharing","social-share"],"author":{"name":"Artem Tabalin","email":"tabalinas@gmail.com","url":"https://github.com/tabalinas"},"repository":{"type":"git","url":"git+https://github.com/tabalinas/jssocials.git"},"bugs":{"url":"https://github.com/tabalinas/jssocials/issues"},"license":"MIT","scripts":{"test":"grunt"},"dependencies":{},"devDependencies":{"grunt":"^0.4.5","grunt-autoprefixer":"^3.0.0","grunt-contrib-clean":"^0.6.0","grunt-contrib-concat":"^0.5.0","grunt-contrib-jshint":"^0.10.0","grunt-contrib-qunit":"^0.5.1","grunt-contrib-sass":"^0.9.2","grunt-contrib-uglify":"^0.7.0","jshint-stylish":"^1.0.0","load-grunt-tasks":"^2.0.0","time-grunt":"^1.0.0"},"gitHead":"dd5d3a39d22146033b42a9a905e47b8217d861ef","_id":"jssocials@1.3.1","_shasum":"9df6d2dc86dfb1b5c4bf7834dbc01e747e918778","_from":".","_npmVersion":"2.15.8","_nodeVersion":"4.4.7","_npmUser":{"name":"tabalin","email":"tabalinas@gmail.com"},"maintainers":[{"name":"tabalin","email":"tabalinas@gmail.com"}],"dist":{"shasum":"9df6d2dc86dfb1b5c4bf7834dbc01e747e918778","tarball":"https://registry.npmjs.org/jssocials/-/jssocials-1.3.1.tgz","integrity":"sha512-94PCkJ1JDaFTvRF0JQInIFkvTYqi4DkugeI132y2jaGOaT2REKjpwGNukEnkxKY5tuzshSLS2DHYjlhMidAbRQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCt+ZB8DMsn9W1CO1az3g3fXuNm0dJWVq2DfSjoSfnvkgIgPHKCmDNoLN2Wcx8kcrSX6aeJYqoBvR6kQoHVDpaHIEM="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/jssocials-1.3.1.tgz_1471718313370_0.9037820938974619"}},"1.4.0":{"name":"jssocials","version":"1.4.0","main":"dist/jssocials.js","description":"jsSocials - jQuery Social Network Sharing Plugin","homepage":"http://js-socials.com","keywords":["jquery-plugin","social-network","sharing","social-share"],"author":{"name":"Artem Tabalin","email":"tabalinas@gmail.com","url":"https://github.com/tabalinas"},"repository":{"type":"git","url":"git+https://github.com/tabalinas/jssocials.git"},"bugs":{"url":"https://github.com/tabalinas/jssocials/issues"},"license":"MIT","scripts":{"test":"grunt test"},"dependencies":{},"devDependencies":{"grunt":"^0.4.5","grunt-autoprefixer":"^3.0.0","grunt-contrib-clean":"^0.6.0","grunt-contrib-concat":"^0.5.0","grunt-contrib-jshint":"^0.10.0","grunt-contrib-qunit":"^0.5.1","grunt-contrib-sass":"^0.9.2","grunt-contrib-uglify":"^0.7.0","jshint-stylish":"^1.0.0","load-grunt-tasks":"^2.0.0","time-grunt":"^1.0.0"},"gitHead":"0ea13a483f9a9781b7339a875f5feacf7ae18b74","_id":"jssocials@1.4.0","_shasum":"de268573a3c39ed5ed80e5fcb589c903232f6cc7","_from":".","_npmVersion":"2.15.8","_nodeVersion":"4.4.7","_npmUser":{"name":"tabalin","email":"tabalinas@gmail.com"},"maintainers":[{"name":"tabalin","email":"tabalinas@gmail.com"}],"dist":{"shasum":"de268573a3c39ed5ed80e5fcb589c903232f6cc7","tarball":"https://registry.npmjs.org/jssocials/-/jssocials-1.4.0.tgz","integrity":"sha512-m+zZX8BxyxhtFbhHkxF187qwoBh6As0NyFItDO0AfK8QIrVuXIVUmFk86SuTgfT9Vhuzs+UcAeZPouWWZWpDcA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDudgI6GUD+p6AB4+WSt/N0U/DpFS2BceyCYhqiylVXBAIgG8nwwD+dghNJvZOTQFeQ9inRlV/uC8+N0OsPFco7+0c="}]},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/jssocials-1.4.0.tgz_1476123500844_0.788443815195933"}},"1.5.0":{"name":"jssocials","version":"1.5.0","main":"dist/jssocials.js","description":"jsSocials - jQuery Social Network Sharing Plugin","homepage":"http://js-socials.com","keywords":["jquery-plugin","social-network","sharing","social-share"],"author":{"name":"Artem Tabalin","email":"tabalinas@gmail.com","url":"https://github.com/tabalinas"},"repository":{"type":"git","url":"git+https://github.com/tabalinas/jssocials.git"},"bugs":{"url":"https://github.com/tabalinas/jssocials/issues"},"license":"MIT","scripts":{"test":"grunt test"},"dependencies":{},"devDependencies":{"grunt":"^0.4.5","grunt-autoprefixer":"^3.0.0","grunt-contrib-clean":"^0.6.0","grunt-contrib-concat":"^0.5.0","grunt-contrib-jshint":"^0.10.0","grunt-contrib-qunit":"^0.5.1","grunt-contrib-sass":"^0.9.2","grunt-contrib-uglify":"^0.7.0","jshint-stylish":"^1.0.0","load-grunt-tasks":"^2.0.0","time-grunt":"^1.0.0"},"gitHead":"ed91b51e8579c2e0fd5785beec2d786530deca5a","_id":"jssocials@1.5.0","_shasum":"7dee587e7b98b26c658889da474839a6191144c7","_from":".","_npmVersion":"2.15.8","_nodeVersion":"4.4.7","_npmUser":{"name":"tabalin","email":"tabalinas@gmail.com"},"maintainers":[{"name":"tabalin","email":"tabalinas@gmail.com"}],"dist":{"shasum":"7dee587e7b98b26c658889da474839a6191144c7","tarball":"https://registry.npmjs.org/jssocials/-/jssocials-1.5.0.tgz","integrity":"sha512-MphxMjKzEBz5CjzTukKcKw/puOetW8fhrHXiW150ITZhxdF/3k9SwSGnybZ2Rn8S62cFcj51xQ8hXyW12OCEaA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGkOIl+KTTutnWlYhiuj6U3Bl9q2RJ/pt59sVAKx7sBrAiBnX486IgGLjdN6mgNZjnEEwibccFRTTOGBpxpMru2hWw=="}]},"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/jssocials-1.5.0.tgz_1493560718005_0.9875187901780009"}}},"readme":"# jsSocials - Simple Social Sharing\n\n[![Build Status](https://travis-ci.org/tabalinas/jssocials.svg?branch=master)](https://travis-ci.org/tabalinas/jssocials)\n\nProject site [js-socials.com](http://js-socials.com/)\n\n**jsSocials** is a simple social network sharing jQuery plugin. It's flexible and easily extensible. \nConfigure visual appearance. Choose one of several themes provided. Add any yet unsupported social network if needed.\n\n![jsSocials](http://js-socials.com/images/main.png)\n\n\n## Demos\n\nFind demos on the [project site](http://js-socials.com/demos/).\n\n\n## Getting Started\n\n1. Download the package or install it with bower\n    \n    ```bash\n    $ bower install jssocials\n    ```\n    \n2. Add links to `jssocials.css` and chosen theme, e.g. `jssocials-theme-flat.css`\n3. Add link to `font-awesome.css` (it's used for social network logos by default, yet you can replace it with image logo or other font if necessary)\n4. Add link to `jquery.js` and plugin script `jssocials.min.js`\n5. Apply jsSocials to the element on the page `$(\"#share\").jsSocials({ shares: [\"twitter\"] })`\n\n```html\n<!DOCTYPE html>\n<html>\n<head>\n    <link rel=\"stylesheet\" type=\"text/css\" href=\"font-awesome.css\" />\n    <link rel=\"stylesheet\" type=\"text/css\" href=\"jssocials.css\" />\n    <link rel=\"stylesheet\" type=\"text/css\" href=\"jssocials-theme-flat.css\" />\n</head>\n<body>\n    <div id=\"share\"></div>\n\n    <script src=\"jquery.js\"></script>\n    <script src=\"jssocials.min.js\"></script>\n    <script>\n        $(\"#share\").jsSocials({\n            shares: [\"email\", \"twitter\", \"facebook\", \"googleplus\", \"linkedin\", \"pinterest\", \"stumbleupon\", \"whatsapp\"]\n        });\n    </script>\n</body>\n</html>\n```\n\n## Documentation\n\n* [Themes](#themes)\n* [Configuration](#configuration)\n* [Methods](#methods)\n* [Share](#share)\n* [Build-in Shares](#build-in-shares)\n* [Custom Share](#custom-share)\n* [Adaptiveness](#adaptiveness)\n* [Custom Share Strategy](#custom-share-strategy)\n\n\n### Themes\n\nTo turn on a specific theme just link one of available stylesheets\n\n* **jssocials-theme-flat.css** - flat theme\n* **jssocials-theme-classic.css** - classical theme with raised buttons\n* **jssocials-theme-minima.css** - minimalistic theme with logos instead of buttons\n* **jssocials-theme-plain.css** - monochromatic theme\n\n#### flat\n\n![jsSocials - flat theme](http://js-socials.com/images/flat.png)\n\n#### classic\n\n![jsSocials - classic theme](http://js-socials.com/images/classic.png)\n\n#### minima\n\n![jsSocials - minima theme](http://js-socials.com/images/minima.png)\n\n#### plain\n\n![jsSocials - plain theme](http://js-socials.com/images/plain.png)\n\n\n### Configuration\n\nThe config object may contain following options:\n \n```javascript\n{\n    shares: [\"email\", \"twitter\", \"facebook\", \"googleplus\", \"linkedin\", \"pinterest\", \"stumbleupon\", \"whatsapp\", \"telegram\", \"line\"],\n    url: \"http://url.to.share\",\n    text: \"text to share\",\n    showLabel: true,\n    showCount: true,\n    shareIn: \"popup\",\n    on: {\n        click: function(e) {},\n        mouseenter: function(e) {},\n        mouseleave: function(e) {},\n        ...\n    }\n}\n```\n\n#### shares :`Array`\n\nAn array of shares. \n\nEach share can be a\n\n* **string** - name of share from registry `jsSocials.shares` (e.g. `\"twitter\"`)\n* **config** - plain object with `share` as name and custom parameters specific for each share. Read more about share config in [Share](#share) section.\n\nFor instance for twitter the config might look like:\n\n```javascript\n{\n    share: \"twitter\",           // name of share\n    label: \"Tweet\",             // share button text (optional)\n    via: \"artem_tabalin\",       // custom twitter sharing param 'via' (optional)\n    hashtags: \"jquery,plugin\"   // custom twitter sharing param 'hashtags' (optional)\n}\n```\n\n#### url :`String`\n\nA string specifying url to share. Value of `window.location.href` is used by default.\n\n#### text :`String`\n\nA string specifying text to share. The content of `<meta name=\"description\">` or `<title>` (if first is missing) is used by default.\n\n#### showLabel :`true|false|function(screenWidth)`\n\nA boolean specifying whether to show the text on the share button. \nAlso accepts function returning `true|false` depending on the screen width for adaptive rendering. Read more in [Adaptiveness](#adaptiveness) section.\n\n#### showCount :`true|false|\"inside\"|function(screenWidth)`\n\nA boolean or \"inside\" specifying whether and how to show share count. \nAlso accepts function returning `true|false|\"inside\"` depending on the screen width for adaptive rendering. Read more in [Adaptiveness](#adaptiveness) section.\n\n#### shareIn : `\"blank\"|\"popup\"|\"self\"`\n> version added: 1.2\n\nA string specifying the name of sharing strategy. All strategies are stored in the registry `jsSocials.shareStrategy`.\n\nThere are 3 built-in sharing strategies:\n\n**blank** - share in the new browser tab\n**popup** - share in the new browser popup window\n**self** - share in the same browser tab\n\nCustom sharing strategies can be added to registry `jsSocials.shareStrategy`. Find more in [Custom Share Strategy](#custom-share-strategy) section.\n\n#### on :`Object`\n> version added: v1.0\n\nAn object specifying the sharing link event handlers. Handlers for all supported by DOMElement events can be specified.\nThe handlers will be attached to the share link. The context of handler is the share config. The argument of the handler is a jQuery event.\n\nIn the following example once a user clicks twitter sharing link, the sharing url is printed to the browser console \n\n```javascript\n{\n    on: {\n        click: function(e) {\n            if(this.share === \"twitter\") {\n                console.log(\"tweet \\\"\" + this.url + \"\\\" at \" + e.timeStamp);\n            }\n        }\n    }\n}\n```\n\n\n### Methods\n\n#### destroy()\n\nDestroys the shares control and brings the Node to its initial state.\n\n```javascript\n$(\"#share\").jsSocials(\"destroy\");\n```\n\n#### option(optionName, [optionValue])\n\nGets or sets the value of an option.\n \n**optionName** is the name of the option.\n\n**optionValue** is the new option value to set. \n\nIf `optionValue` is not specified, then the value of the option `optionName` will be returned.\n\n```javascript\n// turn off share count\n$(\"#share\").jsSocials(\"option\", \"showCount\", false);\n\n// get sharing text\nvar text = $(\"#share\").jsSocials(\"option\", \"text\");\n```\n\n#### refresh()\n\nRefreshes sharing control. \n\n```javascript\n$(\"#share\").jsSocials(\"refresh\");\n```\n\n#### shareOption(shareName|shareIndex, optionName, [optionValue])\n> version added: 1.1\n\nGets or sets the value of a share option.\n \n**shareName|shareIndex** is the name or the index of the share to get/set the option value.\n \n**optionName** is the name of the share option.\n\n**optionValue** is the new option value to set. \n\nIf `optionValue` is not specified, then the value of the share option `optionName` will be returned.\n\n```javascript\n// change label of twitter share\n$(\"#share\").jsSocials(\"shareOption\", \"twitter\", \"label\", \"Tweet!\");\n\n// get label of the 2nd share\nvar secondShareOption = $(\"#share\").jsSocials(\"shareOption\", 1, \"label\");\n```\n\n#### jsSocials.setDefaults(config)\n\nSet default options for all jsSocials.\n\n```javascript\njsSocials.setDefaults({\n    showLabel: false,\n    showCount: \"inside\"\n});\n```\n\n#### jsSocials.setDefaults(shareName, config)\n\nSet default options of particular share.\n\n```javascript\njsSocials.setDefaults(\"twitter\", {\n    via: \"artem_tabalin\",\n    hashtags: \"jquery,plugin\"\n});\n```\n\n\n### Share\n\nA share config has few applicable for all shares parameters. Yet each share may have specific parameters.\n \n```javascript\n{\n    share: \"twitter\",\n    label: \"Tweet\",\n    logo: \"fa fa-twitter\",\n    css: \"custom-class\",\n    shareIn: \"blank\",\n    renderer: function() { ... }\n}\n```\n\n#### share :`String`\n\nA string name of the share.\njsSocials supports following build-in shares: `\"email\" | \"twitter\" | \"facebook\" | \"googleplus\" | \"linkedin\" | \"pinterest\" | \"stumbleupon\" | \"whatsapp\" | \"telegram\" | \"line\"`\n\nAdding any new share is simple and described in [Custom Share](#custom-share) section.\n\n#### label :`String`\n\nA string specifying the text to show on share button.\n\n#### logo :`String`\n\nA string specifying the share logo. \nIt accepts following values:\n\n* **css class** - any non-url string is rendered as `<i class=\"css class\"></i>`. Font awesome is used by default, but it can be redefined with any other css class. \n* **image url** - string in image url format is rendered as `<img src=\"image url\" />`.\n* **image base64 url** - string in image base64 url format is rendered as `<img src=\"image base64 url\" />`.\n\n#### css: `String`\n\nA string specifying spaces-separated custom css classes to attach to share DOM element.\n\n#### shareIn : `\"blank\"|\"popup\"|\"self\"`\n> version added: 1.2\n\nA string specifying the name of sharing strategy. It's identical to `shareIn` option of `jsSocials`, but specifies sharing strategy for a particular share.\n\nAccepts the following values for built-in strategies:\n\n**blank** - share in the new browser tab\n**popup** - share in the new browser popup window\n**self** - share in the same browser tab\n\nCustom sharing strategies can be added to registry `jsSocials.shareStrategy`. Find more in [Custom Share Strategy](#custom-share-strategy) section.\n\n#### renderer :`function()`\n\nA function returning `<div>` with custom share content. \nThe `renderer` is used for custom share scenario, e.g. using standard sharing component for particular network. \nIf `renderer` is specified, then all other share parameters are ignored.\n\nThis is how to render native google plus share button with `renderer`:\n\n```javascript\n$(\"#share\").jsSocials({\n    shares: [{\n        renderer: function() {\n            var $result = $(\"<div>\");\n    \n            var script = document.createElement(\"script\");\n            script.src = \"https://apis.google.com/js/platform.js\";\n            $result.append(script);\n    \n            $(\"<div>\").addClass(\"g-plus\")\n                .attr({\n                    \"data-action\": \"share\",\n                    \"data-annotation\": \"bubble\"\n                })\n                .appendTo($result);\n    \n            return $result;\n        }\n    }]\n});\n```\n\n### Build-in Shares\n\nThe build-in social network shares have following configuration\n\n#### email\n\n```javascript\n{\n    label: \"E-mail\",\n    logo: \"fa fa-at\",\n    to: \"my.address@test.com\",\n    shareIn: \"self\"\n}\n```\n\n#### twitter\n\n```javascript\n{\n    label: \"Tweet\",\n    logo: \"fa fa-twitter\",\n    via: \"\",                // a Twitter username specifying the source of a Tweet.\n    hashtags: \"\"            // a comma-separated list of hashtags to be appended to Tweet text.\n}\n```\n\n#### facebook\n\n```javascript\n{\n    label: \"Like\",\n    logo: \"fa fa-facebook\"\n}\n```\n\n#### googleplus\n\n```javascript\n{\n    label: \"+1\",\n    logo: \"fa fa-google-plus\"\n}\n```\n\n#### linkedin\n\n```javascript\n{\n    label: \"Share\",\n    logo: \"fa fa-linkedin\"\n}\n```\n\n#### pinterest\n\n```javascript\n{\n    label: \"Pin it\",\n    logo: \"fa fa-pinterest\",\n    media: \"\"               // a url of media to share\n}\n```\n\n#### stumbleupon\n\n```javascript\n{\n    label: \"StumbleUpon\",\n    logo: \"fa fa-stumbleupon\"\n}\n```\n\n#### whatsapp\n> version added: 1.1\n\n```javascript\n{\n    label: \"WhatsApp\",\n    logo: \"fa fa-whatsapp\",\n    shareIn: \"self\"\n}\n```\n\n#### telegram\n> version added: 1.3\n\n```javascript\n{\n    label: \"Telegram\",\n    logo: \"fa fa-paper-plane\"\n}\n```\n\n#### line\n\n```javascript\n{\n    label: \"LINE\",\n    logo: \"fa fa-comment\"\n}\n```\n\n\n### Custom Share\n\nTo register a custom share add it to `jsSocials.shares` registry.\n\nThis is how the **twitter** share is defined:\n\n```javascript\njsSocials.shares.twitter = {\n    label: \"Tweet\",\n    logo: \"fa fa-twitter\",\n    shareUrl: \"https://twitter.com/share?url={url}&text={text}&via={via}&hashtags={hashtags}\",\n    countUrl: \"https://cdn.api.twitter.com/1/urls/count.json?url={url}&callback=?\",\n    getCount: function(data) {\n        return data.count;\n    }\n};\n```\n\nIf you wish to get your share styling for all supported themes, add its name and color to `_shares.scss` and build css.\n\nCurrently `_shares.scss` contains following collections:\n\n```scss\n$share-names: ('twitter', 'facebook', 'googleplus', 'linkedin', 'pinterest', 'email', 'stumbleupon', 'whatsapp', 'telegram', 'line');\n$share-colors: (#00aced, #3b5998, #dd4b39, #007bb6, #cb2027, #3490F3, #eb4823, #29a628, #2ca5e0, #25af00);\n```\n\nEach share has following parameters:\n\n#### label :`String`\n\nThe default value of share label to display on the share button.\n\n#### logo :`String`\n\nA default value of share logo. Accepts css class or image url.\n\n#### shareUrl :`String|function()`\n\nA string or a function returning a string specifying the sharing url.\nIt can contain any parameters in curly braces `{param}`. These parameters will be taken from share config. \nThe `{url}` and `{text}` parameters are taken from jsSocials config.\n\n#### countUrl :`String|function()`\n\nA string or a function returning a string specifying the url to request shares count.\nIt can contain any parameters in curly braces `{param}`. These parameters will be taken from share config. \nThe `{url}` parameter is taken from jsSocials config.\nThe `countUrl` option should be specified only if you are going to show share count (`showCount` is not `false`).\n\n#### getCount :`function(data)`\n\nA function retrieving count value from response received from countUrl.\nAccepts response data. The response `data` is used as count if function is not specified.\nIf `getCount` returns a number, it will be formatted (e.g. 1200 to 1.2K). \nReturn a string value to avoid automatic formatting.\n\n\n### Adaptiveness\n\nOptions `showLabel` and `showCount` accept `function(screenWidth)` that has screen width as an input parameter and returns the value specifying whether to show label (or count).\n\nBy default `showLabel` function returns following values:\n\n* `true` for all screens wider than 1024px (large screen)\n* `true` for all screens wider than 640px (small screen) when `showCount` is `false`\n* `false` in all other cases\n\n\nBy default `showCount` function returns following values:\n\n* `true` for all screens wider than 640px (small screen)\n* `\"inside\"` for all screens with width less than 640px (small screen)\n\nThese breakpoints are defined with jsSocials config options:\n\n```javascript\n{\n    smallScreenWidth: 640,\n    largeScreenWidth: 1024\n}\n```\n\nThus these breakpoint values can be redefined in jsSocials config.\n\nThe adaptive behavior can be easily redefined with custom `showLabel` and `showCount` functions.\n\nIn this example we show counter for all screens wider than 1024px hiding count for other screens, \nand show label for screens wider 1280px hiding for other screens:\n\n```javascript\n$(\"#share\").jsSocials({\n    showCount: function(screenWidth) {\n        return (screenWidth > 1024);\n    },\n    \n    showLabel: function(screenWidth) {\n        return (screenWidth > 1280);\n    },\n    \n    ...\n});\n```\n\n### Custom Share Strategy\n> version added: 1.2\n\nA custom share strategy can be used to redefine standard behavior of sharing or customize rendering of a sharing control.  \nThe sharing strategy is a function that accepts a single parameter `{ shareUrl: \"http://your.share.url\" }` and should return a jQuery element. \nIt should be added to `jsSocials.shareStrategies` hash.\n\nIn the following example we define a sharing strategy that shares in a browser window with custom params and instead of link `<a>` uses custom `<div>` element:\n\n```js\njsSocials.shareStrategies[\"my_popup\"] = function(args) {\n    return $(\"<div>\").click(function() {\n            window.open(args.shareUrl, \"MyShareWindow\", \n                \"width=800, height=600, location=1, resizeable=1, menubar=0, scrollbars=0, status=0, titlebar=0, toolbar=0\");\n        });\n};\n\n$(\"#share\").jsSocials({\n    shareIn: \"my_popup\",\n    shares: [\"twitter\", \"facebook\", \"googleplus\"]\n});\n```\n\n\n## License\n\nMIT © Artem Tabalin\n\n","maintainers":[{"name":"tabalin","email":"tabalinas@gmail.com"}],"time":{"modified":"2022-06-19T06:58:05.988Z","created":"2015-04-29T18:16:25.235Z","0.1.0":"2015-04-29T18:16:25.235Z","0.2.0":"2015-05-17T19:40:08.481Z","1.0.0":"2015-10-16T00:13:30.679Z","1.1.0":"2015-12-19T19:50:59.089Z","1.2.0":"2016-04-04T07:50:50.360Z","1.2.1":"2016-04-10T16:50:42.669Z","1.3.0":"2016-08-18T11:59:12.048Z","1.3.1":"2016-08-20T18:38:36.220Z","1.4.0":"2016-10-10T18:18:22.019Z","1.5.0":"2017-04-30T13:58:38.648Z"},"homepage":"http://js-socials.com","keywords":["jquery-plugin","social-network","sharing","social-share"],"repository":{"type":"git","url":"git+https://github.com/tabalinas/jssocials.git"},"author":{"name":"Artem Tabalin","email":"tabalinas@gmail.com","url":"https://github.com/tabalinas"},"bugs":{"url":"https://github.com/tabalinas/jssocials/issues"},"license":"MIT","readmeFilename":"README.md"}