# sanity-plugin-social-embed

> Embed social media platform post on sanity

Latest version **1.0.0** (published 2024-03-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install sanity-plugin-social-embed
pnpm add sanity-plugin-social-embed
yarn add sanity-plugin-social-embed
bun add sanity-plugin-social-embed
```

## Health

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

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads; large bundle.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2024-03-27 |
| First published | 2024-03-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=14 |
| Dependencies | 5 |
| Unpacked size | 16.3 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4 |
| Author | Chitranjan Gupta |
| Maintainers | chitranjan-gupta |
| Keywords | sanity, sanity-plugin |

## Links

- npm: https://www.npmjs.com/package/sanity-plugin-social-embed
- Repository: https://github.com/chitranjan-gupta/sanity-plugin-social-embed
- Homepage: https://github.com/chitranjan-gupta/sanity-plugin-social-embed#readme
- Issues: https://github.com/chitranjan-gupta/sanity-plugin-social-embed/issues
- npm.io page: https://npm.io/package/sanity-plugin-social-embed

## Dependencies (5)

- [jest](https://npm.io/package/jest.md) ^29.7.0
- [react-tweet](https://npm.io/package/react-tweet.md) ^3.2.0
- [react-player](https://npm.io/package/react-player.md) ^2.15.1
- [react-social-media-embed](https://npm.io/package/react-social-media-embed.md) ^2.5.9
- [@sanity/incompatible-plugin](https://npm.io/package/@sanity/incompatible-plugin.md) ^1.0.4

## Recent versions

- 1.0.0 (latest) — 2024-03-27

## README

# sanity-plugin-social-embed

> This is a **Sanity Studio v3** plugin.

# Development

## Run the following command in sanity studio project

## For yarn

npx yalc add --link sanity-plugin-social-embed && yarn install

## For npm

npx yalc add sanity-plugin-social-embed && npx yalc link sanity-plugin-social-embed && npm install

# Production

## Installation

```sh
npm install sanity-plugin-social-embed
```

## Usage

Add it as a plugin in `sanity.config.ts` (or .js):

```ts
import {defineConfig} from 'sanity'
import {socialMedia} from 'sanity-plugin-social-embed'

export default defineConfig({
  //...
  plugins: [socialMedia({})],
})
```

## License

[MIT](LICENSE) © Chitranjan Gupta

## Develop & test

This plugin uses [@sanity/plugin-kit](https://github.com/sanity-io/plugin-kit)
with default configuration for build & watch scripts.

See [Testing a plugin in Sanity Studio](https://github.com/sanity-io/plugin-kit#testing-a-plugin-in-sanity-studio)
on how to run this plugin with hotreload in the studio.

### Release new version

Run ["CI & Release" workflow](https://github.com/chitranjan-gupta/sanity-plugin-social-embed/actions/workflows/main.yml).
Make sure to select the main branch and check "Release new version".

Semantic release will only release on configured branches, so it is safe to run release on any branch.

## Sources:

1.  https://www.npmjs.com/package/react-social-media-embed

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