react-share-kit
Advanced tools
Comparing version
{ | ||
"name": "react-share-kit", | ||
"version": "0.1.10", | ||
"version": "0.1.11", | ||
"description": "Social media share buttons and share counts for React and Nextjs.", | ||
@@ -9,9 +9,27 @@ "scripts": { | ||
"lint:check": "eslint ./src --ext .tsx,.ts --report-unused-disable-directives", | ||
"dev": "rollup -c -w", | ||
"prepare": "npm run build", | ||
"predeploy": "cd docs && npm install && npm run build", | ||
"deploy": "gh-pages -d docs/build" | ||
"dev": "rollup -c -w" | ||
}, | ||
"author": "Ayda Tech", | ||
"license": "MIT", | ||
"keywords": [ | ||
"react-share-kit", | ||
"social-count", | ||
"social-button-count", | ||
"social-count-buttons", | ||
"react-share", | ||
"next-share", | ||
"social-share", | ||
"share-button", | ||
"sharing", | ||
"share", | ||
"social", | ||
"button", | ||
"react", | ||
"nextjs", | ||
"next.js support", | ||
"component library", | ||
"reactjs", | ||
"social-share-buttons", | ||
"social-media-share-buttons" | ||
], | ||
"devDependencies": { | ||
@@ -18,0 +36,0 @@ "@babel/core": "^7.23.3", |
132
README.md
@@ -88,3 +88,3 @@ # React-Share-Kit | ||
| bgColor | string | related color | It used for button background color. | ❌ | | ||
| round | boolean | false | Open share window in a new tab if set to `true`. | ❌ | | ||
| round | boolean | false | The "round" attribute creates a fully circular button shape, giving it a 100% rounded appearance. | ❌ | | ||
| size | number | 64px | The button size. | ❌ | | ||
@@ -103,7 +103,7 @@ | buttonTitle | string | | The title of button used instead of icon. | ❌ | | ||
LineShareButton | ||
} from 'next-share-kit' | ||
} from 'react-share-kit' | ||
<LineShareButton | ||
url={'https://github.com/ayda-tech/react-share-kit'} | ||
title={'next-share-kit is a social share buttons for your next React apps.'} | ||
title={'react-share-kit is a social share buttons for your next React apps.'} | ||
/> | ||
@@ -124,3 +124,3 @@ ``` | ||
| bgColor | string | related color | It used for button background color. | ❌ | | ||
| round | boolean | false | Open share window in a new tab if set to `true`. | ❌ | | ||
| round | boolean | false | The "round" attribute creates a fully circular button shape, giving it a 100% rounded appearance. | ❌ | | ||
| size | number | 64px | The button size. | ❌ | | ||
@@ -138,7 +138,7 @@ | buttonTitle | string | | The title of button used instead of icon. | ❌ | | ||
PinterestShareButton | ||
} from 'next-share-kit' | ||
} from 'react-share-kit' | ||
<PinterestShareButton | ||
url={'https://github.com/ayda-tech/react-share-kit'} | ||
media={'next-share-kit is a social share buttons for your next React apps.'} | ||
media={'react-share-kit is a social share buttons for your next React apps.'} | ||
/> | ||
@@ -160,7 +160,7 @@ ``` | ||
| bgColor | string | related color | It used for button background color. | ❌ | | ||
| round | boolean | false | Open share window in a new tab if set to `true`. | ❌ | | ||
| round | boolean | false | The "round" attribute creates a fully circular button shape, giving it a 100% rounded appearance. | ❌ | | ||
| size | number | 64px | The button size. | ❌ | | ||
| buttonTitle | string | 64px | The title of button used instead of icon. | ❌ | | ||
| bgColor | string | related color | It used for button background color. | ❌ | | ||
| round | boolean | false | Open share window in a new tab if set to `true`. | ❌ | | ||
| round | boolean | false | The "round" attribute creates a fully circular button shape, giving it a 100% rounded appearance. | ❌ | | ||
| size | number | 64px | The button size. | ❌ | | ||
@@ -179,7 +179,7 @@ | buttonTitle | string | | The title of button used instead of icon. | ❌ | | ||
RedditShareButton | ||
} from 'next-share-kit' | ||
} from 'react-share-kit' | ||
<RedditShareButton | ||
url={'https://github.com/ayda-tech/react-share-kit'} | ||
title={'next-share-kit is a social share buttons for your next React apps.'} | ||
title={'react-share-kit is a social share buttons for your next React apps.'} | ||
/> | ||
@@ -200,3 +200,3 @@ ``` | ||
| bgColor | string | related color | It used for button background color. | ❌ | | ||
| round | boolean | false | Open share window in a new tab if set to `true`. | ❌ | | ||
| round | boolean | false | The "round" attribute creates a fully circular button shape, giving it a 100% rounded appearance. | ❌ | | ||
| size | number | 64px | The button size. | ❌ | | ||
@@ -214,7 +214,7 @@ | buttonTitle | string | | The title of button used instead of icon. | ❌ | | ||
TelegramShareButton | ||
} from 'next-share-kit' | ||
} from 'react-share-kit' | ||
<TelegramShareButton | ||
url={'https://github.com/ayda-tech/react-share-kit'} | ||
title={'next-share-kit is a social share buttons for your next React apps.'} | ||
title={'react-share-kit is a social share buttons for your next React apps.'} | ||
/> | ||
@@ -235,3 +235,3 @@ ``` | ||
| bgColor | string | related color | It used for button background color. | ❌ | | ||
| round | boolean | false | Open share window in a new tab if set to `true`. | ❌ | | ||
| round | boolean | false | The "round" attribute creates a fully circular button shape, giving it a 100% rounded appearance. | ❌ | | ||
| size | number | 64px | The button size. | ❌ | | ||
@@ -249,7 +249,7 @@ | buttonTitle | string | | The title of button used instead of icon. | ❌ | | ||
TumblrShareButton | ||
} from 'next-share-kit' | ||
} from 'react-share-kit' | ||
<TumblrShareButton | ||
url={'https://github.com/ayda-tech/react-share-kit'} | ||
title={'next-share-kit is a social share buttons for your next React apps.'} | ||
title={'react-share-kit is a social share buttons for your next React apps.'} | ||
/> | ||
@@ -273,3 +273,3 @@ ``` | ||
| bgColor | string | related color | It used for button background color. | ❌ | | ||
| round | boolean | false | Open share window in a new tab if set to `true`. | ❌ | | ||
| round | boolean | false | The "round" attribute creates a fully circular button shape, giving it a 100% rounded appearance. | ❌ | | ||
| size | number | 64px | The button size. | ❌ | | ||
@@ -287,7 +287,7 @@ | buttonTitle | string | | The title of button used instead of icon. | ❌ | | ||
TwitterShareButton | ||
} from 'next-share-kit' | ||
} from 'react-share-kit' | ||
<TwitterShareButton | ||
url={'https://github.com/ayda-tech/react-share-kit'} | ||
title={'next-share-kit is a social share buttons for your next React apps.'} | ||
title={'react-share-kit is a social share buttons for your next React apps.'} | ||
/> | ||
@@ -311,3 +311,3 @@ ``` | ||
| bgColor | string | related color | It used for button background color. | ❌ | | ||
| round | boolean | false | Open share window in a new tab if set to `true`. | ❌ | | ||
| round | boolean | false | The "round" attribute creates a fully circular button shape, giving it a 100% rounded appearance. | ❌ | | ||
| size | number | 64px | The button size. | ❌ | | ||
@@ -325,7 +325,7 @@ | buttonTitle | string | | The title of button used instead of icon. | ❌ | | ||
ViberShareButton | ||
} from 'next-share-kit' | ||
} from 'react-share-kit' | ||
<ViberShareButton | ||
url={'https://github.com/ayda-tech/react-share-kit'} | ||
title={'next-share-kit is a social share buttons for your next React apps.'} | ||
title={'react-share-kit is a social share buttons for your next React apps.'} | ||
/> | ||
@@ -347,3 +347,3 @@ ``` | ||
| bgColor | string | related color | It used for button background color. | ❌ | | ||
| round | boolean | false | Open share window in a new tab if set to `true`. | ❌ | | ||
| round | boolean | false | The "round" attribute creates a fully circular button shape, giving it a 100% rounded appearance. | ❌ | | ||
| size | number | 64px | The button size. | ❌ | | ||
@@ -361,7 +361,7 @@ | buttonTitle | string | | The title of button used instead of icon. | ❌ | | ||
WeiboShareButton | ||
} from 'next-share-kit' | ||
} from 'react-share-kit' | ||
<WeiboShareButton | ||
url={'https://github.com/ayda-tech/react-share-kit'} | ||
title={'next-share-kit is a social share buttons for your next React apps.'} | ||
title={'react-share-kit is a social share buttons for your next React apps.'} | ||
image={`${String(window.location)}/${example-image}`} | ||
@@ -384,3 +384,3 @@ /> | ||
| bgColor | string | related color | It used for button background color. | ❌ | | ||
| round | boolean | false | Open share window in a new tab if set to `true`. | ❌ | | ||
| round | boolean | false | The "round" attribute creates a fully circular button shape, giving it a 100% rounded appearance. | ❌ | | ||
| size | number | 64px | The button size. | ❌ | | ||
@@ -398,7 +398,7 @@ | buttonTitle | string | | The title of button used instead of icon. | ❌ | | ||
WhatsappShareButton | ||
} from 'next-share-kit' | ||
} from 'react-share-kit' | ||
<WhatsappShareButton | ||
url={'https://github.com/ayda-tech/react-share-kit'} | ||
title={'next-share-kit is a social share buttons for your next React apps.'} | ||
title={'react-share-kit is a social share buttons for your next React apps.'} | ||
separator=":: " | ||
@@ -421,3 +421,3 @@ /> | ||
| bgColor | string | related color | It used for button background color. | ❌ | | ||
| round | boolean | false | Open share window in a new tab if set to `true`. | ❌ | | ||
| round | boolean | false | The "round" attribute creates a fully circular button shape, giving it a 100% rounded appearance. | ❌ | | ||
| size | number | 64px | The button size. | ❌ | | ||
@@ -435,3 +435,3 @@ | buttonTitle | string | | The title of button used instead of icon. | ❌ | | ||
LinkedinShareButton | ||
} from 'next-share-kit' | ||
} from 'react-share-kit' | ||
@@ -452,3 +452,3 @@ <LinkedinShareButton url={'https://github.com/ayda-tech/react-share-kit'} /> | ||
| bgColor | string | related color | It used for button background color. | ❌ | | ||
| round | boolean | false | Open share window in a new tab if set to `true`. | ❌ | | ||
| round | boolean | false | The "round" attribute creates a fully circular button shape, giving it a 100% rounded appearance. | ❌ | | ||
| size | number | 64px | The button size. | ❌ | | ||
@@ -466,7 +466,7 @@ | buttonTitle | string | | The title of button used instead of icon. | ❌ | | ||
VKShareButton | ||
} from 'next-share-kit' | ||
} from 'react-share-kit' | ||
<VKShareButton | ||
url={'https://github.com/ayda-tech/react-share-kit'} | ||
image={'./next-share.png'} | ||
image={'./react-share.png'} | ||
/> | ||
@@ -490,3 +490,3 @@ ``` | ||
| bgColor | string | related color | It used for button background color. | ❌ | | ||
| round | boolean | false | Open share window in a new tab if set to `true`. | ❌ | | ||
| round | boolean | false | The "round" attribute creates a fully circular button shape, giving it a 100% rounded appearance. | ❌ | | ||
| size | number | 64px | The button size. | ❌ | | ||
@@ -504,7 +504,7 @@ | buttonTitle | string | | The title of button used instead of icon. | ❌ | | ||
MailruShareButton | ||
} from 'next-share-kit' | ||
} from 'react-share-kit' | ||
<MailruShareButton | ||
url={'https://github.com/ayda-tech/react-share-kit'} | ||
title={'Next Share'} | ||
title={'React Share Kit'} | ||
/> | ||
@@ -527,3 +527,3 @@ ``` | ||
| bgColor | string | related color | It used for button background color. | ❌ | | ||
| round | boolean | false | Open share window in a new tab if set to `true`. | ❌ | | ||
| round | boolean | false | The "round" attribute creates a fully circular button shape, giving it a 100% rounded appearance. | ❌ | | ||
| size | number | 64px | The button size. | ❌ | | ||
@@ -541,7 +541,7 @@ | buttonTitle | string | | The title of button used instead of icon. | ❌ | | ||
LivejournalShareButton | ||
} from 'next-share-kit' | ||
} from 'react-share-kit' | ||
<LivejournalShareButton | ||
url={'https://github.com/ayda-tech/react-share-kit'} | ||
title={'Next Share'} | ||
title={'React Share Kit'} | ||
description={'https://github.com/ayda-tech/react-share-kit'} | ||
@@ -564,3 +564,3 @@ /> | ||
| bgColor | string | related color | It used for button background color. | ❌ | | ||
| round | boolean | false | Open share window in a new tab if set to `true`. | ❌ | | ||
| round | boolean | false | The "round" attribute creates a fully circular button shape, giving it a 100% rounded appearance. | ❌ | | ||
| size | number | 64px | The button size. | ❌ | | ||
@@ -578,7 +578,7 @@ | buttonTitle | string | | The title of button used instead of icon. | ❌ | | ||
WorkplaceShareButton | ||
} from 'next-share-kit' | ||
} from 'react-share-kit' | ||
<WorkplaceShareButton | ||
url={'https://github.com/ayda-tech/react-share-kit'} | ||
quote={'Next Share'} | ||
quote={'React Share Kit'} | ||
/> | ||
@@ -600,3 +600,3 @@ ``` | ||
| bgColor | string | related color | It used for button background color. | ❌ | | ||
| round | boolean | false | Open share window in a new tab if set to `true`. | ❌ | | ||
| round | boolean | false | The "round" attribute creates a fully circular button shape, giving it a 100% rounded appearance. | ❌ | | ||
| size | number | 64px | The button size. | ❌ | | ||
@@ -614,7 +614,7 @@ | buttonTitle | string | | The title of button used instead of icon. | ❌ || | ||
PocketShareButton | ||
} from 'next-share-kit' | ||
} from 'react-share-kit' | ||
<PocketShareButton | ||
url={'https://github.com/ayda-tech/react-share-kit'} | ||
title={'Next Share'} | ||
title={'React Share Kit'} | ||
/> | ||
@@ -635,3 +635,3 @@ ``` | ||
| bgColor | string | related color | It used for button background color. | ❌ | | ||
| round | boolean | false | Open share window in a new tab if set to `true`. | ❌ | | ||
| round | boolean | false | The "round" attribute creates a fully circular button shape, giving it a 100% rounded appearance. | ❌ | | ||
| size | number | 64px | The button size. | ❌ | | ||
@@ -649,7 +649,7 @@ | buttonTitle | string | | The title of button used instead of icon. | ❌ | | ||
InstapaperShareButton | ||
} from 'next-share-kit' | ||
} from 'react-share-kit' | ||
<InstapaperShareButton | ||
url={'https://github.com/ayda-tech/react-share-kit'} | ||
title={'Next Share'} | ||
title={'React Share Kit'} | ||
/> | ||
@@ -671,3 +671,3 @@ ``` | ||
| bgColor | string | related color | It used for button background color. | ❌ | | ||
| round | boolean | false | Open share window in a new tab if set to `true`. | ❌ | | ||
| round | boolean | false | The "round" attribute creates a fully circular button shape, giving it a 100% rounded appearance. | ❌ | | ||
| size | number | 64px | The button size. | ❌ | | ||
@@ -685,7 +685,7 @@ | buttonTitle | string | | The title of button used instead of icon. | ❌ | | ||
HatenaShareButton | ||
} from 'next-share-kit' | ||
} from 'react-share-kit' | ||
<HatenaShareButton | ||
url={'https://github.com/ayda-tech/react-share-kit'} | ||
title={'Next Share'} | ||
title={'React Share Kit'} | ||
/> | ||
@@ -706,3 +706,3 @@ ``` | ||
| bgColor | string | related color | It used for button background color. | ❌ | | ||
| round | boolean | false | Open share window in a new tab if set to `true`. | ❌ | | ||
| round | boolean | false | The "round" attribute creates a fully circular button shape, giving it a 100% rounded appearance. | ❌ | | ||
| size | number | 64px | The button size. | ❌ | | ||
@@ -720,3 +720,3 @@ | buttonTitle | string | | The title of button used instead of icon. | ❌ | | ||
FacebookMessengerShareButton | ||
} from 'next-share-kit' | ||
} from 'react-share-kit' | ||
@@ -743,3 +743,3 @@ <FacebookMessengerShareButton | ||
| bgColor | string | related color | It used for button background color. | ❌ | | ||
| round | boolean | false | Open share window in a new tab if set to `true`. | ❌ | | ||
| round | boolean | false | The "round" attribute creates a fully circular button shape, giving it a 100% rounded appearance. | ❌ | | ||
| size | number | 64px | The button size. | ❌ | | ||
@@ -757,7 +757,7 @@ | buttonTitle | string | | The title of button used instead of icon. | ❌ | | ||
EmailShareButton | ||
} from 'next-share-kit' | ||
} from 'react-share-kit' | ||
<EmailShareButton | ||
url={'https://github.com/ayda-tech/react-share-kit'} | ||
subject={'Next Share'} | ||
subject={'React Share Kit'} | ||
body="body" | ||
@@ -779,3 +779,3 @@ /> | ||
| bgColor | string | related color | It used for button background color. | ❌ | | ||
| round | boolean | false | Open share window in a new tab if set to `true`. | ❌ | | ||
| round | boolean | false | The "round" attribute creates a fully circular button shape, giving it a 100% rounded appearance. | ❌ | | ||
| size | number | 64px | The button size. | ❌ | | ||
@@ -793,7 +793,7 @@ | buttonTitle | string | | The title of button used instead of icon. | ❌ | | ||
GabShareButton, | ||
} from 'next-share-kit' | ||
} from 'react-share-kit' | ||
<GabShareButton | ||
url={'https://github.com/ayda-tech/react-share-kit'} | ||
title={'Next Share'} | ||
title={'React Share Kit'} | ||
/> | ||
@@ -813,3 +813,3 @@ ``` | ||
| bgColor | string | related color | It used for button background color. | ❌ | | ||
| round | boolean | false | Open share window in a new tab if set to `true`. | ❌ | | ||
| round | boolean | false | The "round" attribute creates a fully circular button shape, giving it a 100% rounded appearance. | ❌ | | ||
| size | number | 64px | The button size. | ❌ | | ||
@@ -827,3 +827,3 @@ | buttonTitle | string | | The title of button used instead of icon. | ❌ | | ||
```js | ||
import { FacebookShareCount } from 'next-share-kit' | ||
import { FacebookShareCount } from 'react-share-kit' | ||
@@ -862,3 +862,3 @@ <FacebookShareCount | ||
```js | ||
import { HatenaShareCount } from 'next-share-kit' | ||
import { HatenaShareCount } from 'react-share-kit' | ||
@@ -887,3 +887,3 @@ <HatenaShareCount url={'https://github.com/ayda-tech/react-share-kit'} /> | ||
```js | ||
import { OKShareCount } from 'next-share-kit' | ||
import { OKShareCount } from 'react-share-kit' | ||
@@ -912,3 +912,3 @@ <OKShareCount url={'https://github.com/ayda-tech/react-share-kit'} /> | ||
```js | ||
import { PinterestShareCount } from 'next-share-kit' | ||
import { PinterestShareCount } from 'react-share-kit' | ||
@@ -937,3 +937,3 @@ <PinterestShareCount url={'https://github.com/ayda-tech/react-share-kit'} /> | ||
```js | ||
import { TumblrShareCount } from 'next-share-kit' | ||
import { TumblrShareCount } from 'react-share-kit' | ||
@@ -962,3 +962,3 @@ <TumblrShareCount url={'https://github.com/ayda-tech/react-share-kit'} /> | ||
```js | ||
import { VKShareCount } from 'next-share-kit' | ||
import { VKShareCount } from 'react-share-kit' | ||
@@ -965,0 +965,0 @@ <VKShareCount url={'https://github.com/ayda-tech/react-share-kit'} /> |
Empty package
Supply chain riskPackage does not contain any code. It may be removed, is name squatting, or the result of a faulty package publish.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
2
-33.33%1
-96.15%35712
-76.49%3
-92.86%0
-100%2
Infinity%