discord-embed-visualizer
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

Discord Embed Visualizer

React component for generating and visualizing Discord Embeds

License: GPL v3


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.

Package Sidebar

Install

npm i discord-embed-visualizer

Weekly Downloads

13

Version

1.1.0

License

GPL-3.0

Unpacked Size

163 kB

Total Files

24

Last publish

Collaborators

  • artdude543
  • mrvdog