# gitbook-plugin-sharing

> Sharing buttons in GitBooks website

Latest version **1.0.2** (published 2016-04-12) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install gitbook-plugin-sharing
pnpm add gitbook-plugin-sharing
yarn add gitbook-plugin-sharing
bun add gitbook-plugin-sharing
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2016-04-12 |
| First published | 2015-10-05 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 (+6 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 14 |
| Maintainers | jpreynat, samypesse |

## Links

- npm: https://www.npmjs.com/package/gitbook-plugin-sharing
- Repository: https://github.com/GitbookIO/plugin-sharing
- Issues: https://github.com/GitbookIO/plugin-sharing/issues
- npm.io page: https://npm.io/package/gitbook-plugin-sharing

## Dependencies (1)

- [lodash](https://npm.io/package/lodash.md) ^3.10.1

## Recent versions

- 1.0.2 (latest) — 2016-04-12
- 4.0.0-alpha.6 (pre) — 2017-03-16
- 4.0.0-alpha.5 — 2017-03-09
- 4.0.0-alpha.4 — 2017-01-27
- 4.0.0-alpha.3 — 2017-01-13
- 4.0.0-alpha.2 — 2017-01-13
- 4.0.0-alpha.1 — 2017-01-13
- 1.0.1 — 2015-10-13
- 1.0.0 — 2015-10-05

## README

# plugin-sharing

This plugin adds sharing buttons in the GitBook website toolbar to share book on social networks.

### Disable this plugin

This is a default plugin and it can be disabled using a `book.json` configuration:

```
{
    plugins: ["-sharing"]
}
```

### Configuration

This plugin can be configured in the `book.json`:

Default configuration is:

```js
{
    "pluginsConfig": {
        "sharing": {
            "facebook": true,
            "twitter": true,
            "google": false,
            "weibo": false,
            "instapaper": false,
            "vk": false,
            "all": [
                "facebook", "google", "twitter",
                "weibo", "instapaper"
            ]
        }
    }
}
```

---
_Source: https://npm.io/package/gitbook-plugin-sharing · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
