1.1.0 • Published 2 years ago

discord-embed-visualizer v1.1.0

Weekly downloads
2
License
GPL-3.0
Repository
-
Last release
2 years ago

Discord Embed Visualizer

React component for generating and visualizing Discord Embeds

License: GPL v3 npm.io

npm.io npm.io

npm.io npm.io


Installation

// Via NPM
npm install discord-embed-visualizer

// Via Yarn
yarn add discord-embed-visualizer

Usage

import { Generator, Visualizer } from 'discord-embed-visualizer';
<Generator
    defaultValue={ default_embed_data }
    onChange={ change_event }
/>
<Visualizer
    bot={{ name: '', iconUrl: '' }} //optional
    embed={ discord_embed_object }
/>

Examples

A demo is available on the github repo, just clone it, install packages yarn install | npm install and run the start script yarn start | npm start.

Or if that's too much effort, you can just check out MRVDOG's online demo.