Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

svelte-share-buttons-component

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

svelte-share-buttons-component - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

6

CHANGELOG.md
# Changelog
## 1.1.2
* Modified installation instructions to include specific instructions for Sapper
## 1.1.1

@@ -12,2 +16,2 @@

* Changed button css to follow BEM better.
* Removed empty aria attribute.
* Removed empty aria attribute.

2

package.json

@@ -26,3 +26,3 @@ {

"description": "Simple Svelte based social media share buttons component with no tracking.",
"version": "1.1.1",
"version": "1.1.2",
"repository": {

@@ -29,0 +29,0 @@ "type": "git",

# svelte-share-buttons-component
![npm-publish](https://github.com/pchynoweth/svelte-share-buttons-component/workflows/npm-publish/badge.svg)
![new-version](https://github.com/pchynoweth/svelte-share-buttons-component/workflows/new-version/badge.svg)
[![version](https://img.shields.io/npm/v/svelte-share-buttons-component.svg?style=flat-square)](http://npm.im/svelte-share-buttons-component)
Simple Svelte based share buttons component with no tracking. Based on HTML shared buttons from https://github.com/mxstbr/sharingbuttons.io.
Simple Svelte based share buttons component with no tracking. Based on HTML share buttons from https://github.com/mxstbr/sharingbuttons.io.
## Installation
Using npm:
### Using npm
#### Sapper or Other Svelte Bundler
For Sapper you need to install the package as a dev module to so it gets compiled. If you install it as a runtiome dependency you will 500 errors on the server side. This is explained [here](https://github.com/sveltejs/sapper-template#using-external-components).
```bash
$ npm i -D svelte-share-buttons-component
```
### PureJS
```bash
$ npm i --save svelte-share-buttons-component
```
## Example

@@ -45,2 +57,2 @@

<Twitter class="share-button" text="{title}" {url} />
```
```

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc